Struct godot::classes::visual_shader_node_compare::ComparisonType
pub struct ComparisonType { /* private fields */ }
Implementations§
§impl ComparisonType
impl ComparisonType
pub const SCALAR: ComparisonType = _
pub const SCALAR: ComparisonType = _
Godot enumerator name: CTYPE_SCALAR
pub const SCALAR_INT: ComparisonType = _
pub const SCALAR_INT: ComparisonType = _
Godot enumerator name: CTYPE_SCALAR_INT
pub const SCALAR_UINT: ComparisonType = _
pub const SCALAR_UINT: ComparisonType = _
Godot enumerator name: CTYPE_SCALAR_UINT
pub const VECTOR_2D: ComparisonType = _
pub const VECTOR_2D: ComparisonType = _
Godot enumerator name: CTYPE_VECTOR_2D
pub const VECTOR_3D: ComparisonType = _
pub const VECTOR_3D: ComparisonType = _
Godot enumerator name: CTYPE_VECTOR_3D
pub const VECTOR_4D: ComparisonType = _
pub const VECTOR_4D: ComparisonType = _
Godot enumerator name: CTYPE_VECTOR_4D
pub const BOOLEAN: ComparisonType = _
pub const BOOLEAN: ComparisonType = _
Godot enumerator name: CTYPE_BOOLEAN
pub const TRANSFORM: ComparisonType = _
pub const TRANSFORM: ComparisonType = _
Godot enumerator name: CTYPE_TRANSFORM
pub const MAX: ComparisonType = _
pub const MAX: ComparisonType = _
Godot enumerator name: CTYPE_MAX
Trait Implementations§
§impl Clone for ComparisonType
impl Clone for ComparisonType
§fn clone(&self) -> ComparisonType
fn clone(&self) -> ComparisonType
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 ComparisonType
impl Debug for ComparisonType
§impl EngineEnum for ComparisonType
impl EngineEnum for ComparisonType
§impl FromGodot for ComparisonType
impl FromGodot for ComparisonType
§fn try_from_godot(
via: <ComparisonType as GodotConvert>::Via,
) -> Result<ComparisonType, ConvertError>
fn try_from_godot( via: <ComparisonType as GodotConvert>::Via, ) -> Result<ComparisonType, 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 ComparisonType
impl GodotConvert for ComparisonType
§impl Hash for ComparisonType
impl Hash for ComparisonType
§impl IndexEnum for ComparisonType
impl IndexEnum for ComparisonType
§impl PartialEq for ComparisonType
impl PartialEq for ComparisonType
§impl ToGodot for ComparisonType
impl ToGodot for ComparisonType
impl Copy for ComparisonType
impl Eq for ComparisonType
impl StructuralPartialEq for ComparisonType
Auto Trait Implementations§
impl Freeze for ComparisonType
impl RefUnwindSafe for ComparisonType
impl Send for ComparisonType
impl Sync for ComparisonType
impl Unpin for ComparisonType
impl UnwindSafe for ComparisonType
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)