Struct CanvasItemTextureRepeat
pub struct CanvasItemTextureRepeat { /* private fields */ }
Implementations§
§impl CanvasItemTextureRepeat
impl CanvasItemTextureRepeat
pub const DEFAULT: CanvasItemTextureRepeat = _
pub const DEFAULT: CanvasItemTextureRepeat = _
Godot enumerator name: CANVAS_ITEM_TEXTURE_REPEAT_DEFAULT
pub const DISABLED: CanvasItemTextureRepeat = _
pub const DISABLED: CanvasItemTextureRepeat = _
Godot enumerator name: CANVAS_ITEM_TEXTURE_REPEAT_DISABLED
pub const ENABLED: CanvasItemTextureRepeat = _
pub const ENABLED: CanvasItemTextureRepeat = _
Godot enumerator name: CANVAS_ITEM_TEXTURE_REPEAT_ENABLED
pub const MIRROR: CanvasItemTextureRepeat = _
pub const MIRROR: CanvasItemTextureRepeat = _
Godot enumerator name: CANVAS_ITEM_TEXTURE_REPEAT_MIRROR
pub const MAX: CanvasItemTextureRepeat = _
pub const MAX: CanvasItemTextureRepeat = _
Godot enumerator name: CANVAS_ITEM_TEXTURE_REPEAT_MAX
Trait Implementations§
§impl Clone for CanvasItemTextureRepeat
impl Clone for CanvasItemTextureRepeat
§fn clone(&self) -> CanvasItemTextureRepeat
fn clone(&self) -> CanvasItemTextureRepeat
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 CanvasItemTextureRepeat
impl Debug for CanvasItemTextureRepeat
§impl EngineEnum for CanvasItemTextureRepeat
impl EngineEnum for CanvasItemTextureRepeat
§impl FromGodot for CanvasItemTextureRepeat
impl FromGodot for CanvasItemTextureRepeat
§fn try_from_godot(
via: <CanvasItemTextureRepeat as GodotConvert>::Via,
) -> Result<CanvasItemTextureRepeat, ConvertError>
fn try_from_godot( via: <CanvasItemTextureRepeat as GodotConvert>::Via, ) -> Result<CanvasItemTextureRepeat, 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 CanvasItemTextureRepeat
impl GodotConvert for CanvasItemTextureRepeat
§impl Hash for CanvasItemTextureRepeat
impl Hash for CanvasItemTextureRepeat
§impl IndexEnum for CanvasItemTextureRepeat
impl IndexEnum for CanvasItemTextureRepeat
§impl PartialEq for CanvasItemTextureRepeat
impl PartialEq for CanvasItemTextureRepeat
§impl ToGodot for CanvasItemTextureRepeat
impl ToGodot for CanvasItemTextureRepeat
§type ToVia<'v> = i32
type ToVia<'v> = i32
Target type of
to_godot()
, which differs from Via
for pass-by-reference types.§fn to_godot(&self) -> <CanvasItemTextureRepeat as ToGodot>::ToVia<'_>
fn to_godot(&self) -> <CanvasItemTextureRepeat as ToGodot>::ToVia<'_>
Converts this type to the Godot type by reference, usually by cloning.
§fn to_variant(&self) -> Variant
fn to_variant(&self) -> Variant
Converts this type to a Variant.
impl Copy for CanvasItemTextureRepeat
impl Eq for CanvasItemTextureRepeat
impl StructuralPartialEq for CanvasItemTextureRepeat
Auto Trait Implementations§
impl Freeze for CanvasItemTextureRepeat
impl RefUnwindSafe for CanvasItemTextureRepeat
impl Send for CanvasItemTextureRepeat
impl Sync for CanvasItemTextureRepeat
impl Unpin for CanvasItemTextureRepeat
impl UnwindSafe for CanvasItemTextureRepeat
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
)