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