Struct TextureSliceType
pub struct TextureSliceType { /* private fields */ }
Implementations§
§impl TextureSliceType
impl TextureSliceType
pub const SLICE_2D: TextureSliceType = _
pub const SLICE_2D: TextureSliceType = _
Godot enumerator name: TEXTURE_SLICE_2D
pub const CUBEMAP: TextureSliceType = _
pub const CUBEMAP: TextureSliceType = _
Godot enumerator name: TEXTURE_SLICE_CUBEMAP
pub const SLICE_3D: TextureSliceType = _
pub const SLICE_3D: TextureSliceType = _
Godot enumerator name: TEXTURE_SLICE_3D
Trait Implementations§
§impl Clone for TextureSliceType
impl Clone for TextureSliceType
§fn clone(&self) -> TextureSliceType
fn clone(&self) -> TextureSliceType
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 TextureSliceType
impl Debug for TextureSliceType
§impl EngineEnum for TextureSliceType
impl EngineEnum for TextureSliceType
§impl FromGodot for TextureSliceType
impl FromGodot for TextureSliceType
§fn try_from_godot(
via: <TextureSliceType as GodotConvert>::Via,
) -> Result<TextureSliceType, ConvertError>
fn try_from_godot( via: <TextureSliceType as GodotConvert>::Via, ) -> Result<TextureSliceType, 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 TextureSliceType
impl GodotConvert for TextureSliceType
§impl Hash for TextureSliceType
impl Hash for TextureSliceType
§impl PartialEq for TextureSliceType
impl PartialEq for TextureSliceType
§impl ToGodot for TextureSliceType
impl ToGodot for TextureSliceType
impl Copy for TextureSliceType
impl Eq for TextureSliceType
impl StructuralPartialEq for TextureSliceType
Auto Trait Implementations§
impl Freeze for TextureSliceType
impl RefUnwindSafe for TextureSliceType
impl Send for TextureSliceType
impl Sync for TextureSliceType
impl Unpin for TextureSliceType
impl UnwindSafe for TextureSliceType
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