Struct godot::classes::canvas_item::ClipChildrenMode
pub struct ClipChildrenMode { /* private fields */ }
Implementations§
§impl ClipChildrenMode
impl ClipChildrenMode
pub const DISABLED: ClipChildrenMode = _
pub const DISABLED: ClipChildrenMode = _
Godot enumerator name: CLIP_CHILDREN_DISABLED
pub const ONLY: ClipChildrenMode = _
pub const ONLY: ClipChildrenMode = _
Godot enumerator name: CLIP_CHILDREN_ONLY
pub const AND_DRAW: ClipChildrenMode = _
pub const AND_DRAW: ClipChildrenMode = _
Godot enumerator name: CLIP_CHILDREN_AND_DRAW
pub const MAX: ClipChildrenMode = _
pub const MAX: ClipChildrenMode = _
Godot enumerator name: CLIP_CHILDREN_MAX
Trait Implementations§
§impl Clone for ClipChildrenMode
impl Clone for ClipChildrenMode
§fn clone(&self) -> ClipChildrenMode
fn clone(&self) -> ClipChildrenMode
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 ClipChildrenMode
impl Debug for ClipChildrenMode
§impl EngineEnum for ClipChildrenMode
impl EngineEnum for ClipChildrenMode
§impl FromGodot for ClipChildrenMode
impl FromGodot for ClipChildrenMode
§fn try_from_godot(
via: <ClipChildrenMode as GodotConvert>::Via,
) -> Result<ClipChildrenMode, ConvertError>
fn try_from_godot( via: <ClipChildrenMode as GodotConvert>::Via, ) -> Result<ClipChildrenMode, 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 ClipChildrenMode
impl GodotConvert for ClipChildrenMode
§impl Hash for ClipChildrenMode
impl Hash for ClipChildrenMode
§impl IndexEnum for ClipChildrenMode
impl IndexEnum for ClipChildrenMode
§impl PartialEq for ClipChildrenMode
impl PartialEq for ClipChildrenMode
§fn eq(&self, other: &ClipChildrenMode) -> bool
fn eq(&self, other: &ClipChildrenMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl ToGodot for ClipChildrenMode
impl ToGodot for ClipChildrenMode
§fn to_godot(&self) -> <ClipChildrenMode as GodotConvert>::Via
fn to_godot(&self) -> <ClipChildrenMode as GodotConvert>::Via
Converts this type to the Godot type by reference, usually by cloning.
§fn into_godot(self) -> Self::Via
fn into_godot(self) -> Self::Via
Converts this type to the Godot type. Read more
§fn to_variant(&self) -> Variant
fn to_variant(&self) -> Variant
Converts this type to a Variant.
impl Copy for ClipChildrenMode
impl Eq for ClipChildrenMode
impl StructuralPartialEq for ClipChildrenMode
Auto Trait Implementations§
impl Freeze for ClipChildrenMode
impl RefUnwindSafe for ClipChildrenMode
impl Send for ClipChildrenMode
impl Sync for ClipChildrenMode
impl Unpin for ClipChildrenMode
impl UnwindSafe for ClipChildrenMode
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)