Struct godot::engine::color_picker::ColorModeType
pub struct ColorModeType { /* private fields */ }
Implementations§
§impl ColorModeType
impl ColorModeType
pub const RGB: ColorModeType = _
pub const RGB: ColorModeType = _
Godot enumerator name: MODE_RGB
pub const HSV: ColorModeType = _
pub const HSV: ColorModeType = _
Godot enumerator name: MODE_HSV
pub const RAW: ColorModeType = _
pub const RAW: ColorModeType = _
Godot enumerator name: MODE_RAW
pub const OKHSL: ColorModeType = _
pub const OKHSL: ColorModeType = _
Godot enumerator name: MODE_OKHSL
Trait Implementations§
§impl Clone for ColorModeType
impl Clone for ColorModeType
§fn clone(&self) -> ColorModeType
fn clone(&self) -> ColorModeType
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 ColorModeType
impl Debug for ColorModeType
§impl EngineEnum for ColorModeType
impl EngineEnum for ColorModeType
§impl FromGodot for ColorModeType
impl FromGodot for ColorModeType
§fn try_from_godot(
via: <ColorModeType as GodotConvert>::Via
) -> Result<ColorModeType, ConvertError>
fn try_from_godot( via: <ColorModeType as GodotConvert>::Via ) -> Result<ColorModeType, ConvertError>
Performs the conversion.
§fn from_godot(via: Self::Via) -> Self
fn from_godot(via: Self::Via) -> Self
⚠️ Performs the conversion. 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
.§fn from_variant(variant: &Variant) -> Self
fn from_variant(variant: &Variant) -> Self
§impl GodotConvert for ColorModeType
impl GodotConvert for ColorModeType
§impl Hash for ColorModeType
impl Hash for ColorModeType
§impl PartialEq for ColorModeType
impl PartialEq for ColorModeType
§fn eq(&self, other: &ColorModeType) -> bool
fn eq(&self, other: &ColorModeType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl ToGodot for ColorModeType
impl ToGodot for ColorModeType
§fn to_godot(&self) -> <ColorModeType as GodotConvert>::Via
fn to_godot(&self) -> <ColorModeType 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 ColorModeType
impl Eq for ColorModeType
impl StructuralPartialEq for ColorModeType
Auto Trait Implementations§
impl Freeze for ColorModeType
impl RefUnwindSafe for ColorModeType
impl Send for ColorModeType
impl Sync for ColorModeType
impl Unpin for ColorModeType
impl UnwindSafe for ColorModeType
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