Struct RenderPrimitive
pub struct RenderPrimitive { /* private fields */ }
Implementations§
§impl RenderPrimitive
impl RenderPrimitive
pub const POINTS: RenderPrimitive = _
pub const POINTS: RenderPrimitive = _
Godot enumerator name: RENDER_PRIMITIVE_POINTS
pub const LINES: RenderPrimitive = _
pub const LINES: RenderPrimitive = _
Godot enumerator name: RENDER_PRIMITIVE_LINES
pub const LINES_WITH_ADJACENCY: RenderPrimitive = _
pub const LINES_WITH_ADJACENCY: RenderPrimitive = _
Godot enumerator name: RENDER_PRIMITIVE_LINES_WITH_ADJACENCY
pub const LINESTRIPS: RenderPrimitive = _
pub const LINESTRIPS: RenderPrimitive = _
Godot enumerator name: RENDER_PRIMITIVE_LINESTRIPS
pub const LINESTRIPS_WITH_ADJACENCY: RenderPrimitive = _
pub const LINESTRIPS_WITH_ADJACENCY: RenderPrimitive = _
Godot enumerator name: RENDER_PRIMITIVE_LINESTRIPS_WITH_ADJACENCY
pub const TRIANGLES: RenderPrimitive = _
pub const TRIANGLES: RenderPrimitive = _
Godot enumerator name: RENDER_PRIMITIVE_TRIANGLES
pub const TRIANGLES_WITH_ADJACENCY: RenderPrimitive = _
pub const TRIANGLES_WITH_ADJACENCY: RenderPrimitive = _
Godot enumerator name: RENDER_PRIMITIVE_TRIANGLES_WITH_ADJACENCY
pub const TRIANGLE_STRIPS: RenderPrimitive = _
pub const TRIANGLE_STRIPS: RenderPrimitive = _
Godot enumerator name: RENDER_PRIMITIVE_TRIANGLE_STRIPS
pub const TRIANGLE_STRIPS_WITH_AJACENCY: RenderPrimitive = _
pub const TRIANGLE_STRIPS_WITH_AJACENCY: RenderPrimitive = _
Godot enumerator name: RENDER_PRIMITIVE_TRIANGLE_STRIPS_WITH_AJACENCY
pub const TRIANGLE_STRIPS_WITH_RESTART_INDEX: RenderPrimitive = _
pub const TRIANGLE_STRIPS_WITH_RESTART_INDEX: RenderPrimitive = _
Godot enumerator name: RENDER_PRIMITIVE_TRIANGLE_STRIPS_WITH_RESTART_INDEX
pub const TESSELATION_PATCH: RenderPrimitive = _
pub const TESSELATION_PATCH: RenderPrimitive = _
Godot enumerator name: RENDER_PRIMITIVE_TESSELATION_PATCH
pub const MAX: RenderPrimitive = _
pub const MAX: RenderPrimitive = _
Godot enumerator name: RENDER_PRIMITIVE_MAX
Trait Implementations§
§impl Clone for RenderPrimitive
impl Clone for RenderPrimitive
§fn clone(&self) -> RenderPrimitive
fn clone(&self) -> RenderPrimitive
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for RenderPrimitive
impl Debug for RenderPrimitive
§impl EngineEnum for RenderPrimitive
impl EngineEnum for RenderPrimitive
§impl FromGodot for RenderPrimitive
impl FromGodot for RenderPrimitive
§fn try_from_godot(
via: <RenderPrimitive as GodotConvert>::Via,
) -> Result<RenderPrimitive, ConvertError>
fn try_from_godot( via: <RenderPrimitive as GodotConvert>::Via, ) -> Result<RenderPrimitive, ConvertError>
Converts the Godot representation to this type, returning
Err
on failure.§fn from_godot(via: Self::Via) -> Self
fn from_godot(via: Self::Via) -> Self
⚠️ Converts the Godot representation to this type. Read more
§fn try_from_variant(variant: &Variant) -> Result<Self, ConvertError>
fn try_from_variant(variant: &Variant) -> Result<Self, ConvertError>
Performs the conversion from a
Variant
, returning Err
on failure.§fn from_variant(variant: &Variant) -> Self
fn from_variant(variant: &Variant) -> Self
§impl GodotConvert for RenderPrimitive
impl GodotConvert for RenderPrimitive
§impl Hash for RenderPrimitive
impl Hash for RenderPrimitive
§impl IndexEnum for RenderPrimitive
impl IndexEnum for RenderPrimitive
§impl PartialEq for RenderPrimitive
impl PartialEq for RenderPrimitive
§impl ToGodot for RenderPrimitive
impl ToGodot for RenderPrimitive
impl Copy for RenderPrimitive
impl Eq for RenderPrimitive
impl StructuralPartialEq for RenderPrimitive
Auto Trait Implementations§
impl Freeze for RenderPrimitive
impl RefUnwindSafe for RenderPrimitive
impl Send for RenderPrimitive
impl Sync for RenderPrimitive
impl Unpin for RenderPrimitive
impl UnwindSafe for RenderPrimitive
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more