Struct Source
pub struct Source { /* private fields */ }
Implementations§
§impl Source
impl Source
pub const SOURCE_2D_TEXTURE: Source = _
pub const SOURCE_2D_NORMAL: Source = _
pub const SOURCE_3D_NORMAL: Source = _
Trait Implementations§
§impl EngineEnum for Source
impl EngineEnum for Source
§impl FromGodot for Source
impl FromGodot for Source
§fn try_from_godot(
via: <Source as GodotConvert>::Via,
) -> Result<Source, ConvertError>
fn try_from_godot( via: <Source as GodotConvert>::Via, ) -> Result<Source, 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 Copy for Source
impl Eq for Source
impl StructuralPartialEq for Source
Auto Trait Implementations§
impl Freeze for Source
impl RefUnwindSafe for Source
impl Send for Source
impl Sync for Source
impl Unpin for Source
impl UnwindSafe for Source
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