#[repr(C)]pub struct ColorInputStateWrapper {
pub inner: ColorInputState,
pub title: AzString,
pub on_value_change: OptionColorInputOnValueChange,
}Expand description
Wrapper around ColorInputState that includes a title and an optional value-change callback.
Fields§
§inner: ColorInputState§title: AzString§on_value_change: OptionColorInputOnValueChangeTrait Implementations§
Source§impl Clone for ColorInputStateWrapper
impl Clone for ColorInputStateWrapper
Source§fn clone(&self) -> ColorInputStateWrapper
fn clone(&self) -> ColorInputStateWrapper
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ColorInputStateWrapper
impl Debug for ColorInputStateWrapper
Source§impl Default for ColorInputStateWrapper
impl Default for ColorInputStateWrapper
Source§impl PartialEq for ColorInputStateWrapper
impl PartialEq for ColorInputStateWrapper
Source§fn eq(&self, other: &ColorInputStateWrapper) -> bool
fn eq(&self, other: &ColorInputStateWrapper) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ColorInputStateWrapper
impl PartialOrd for ColorInputStateWrapper
impl StructuralPartialEq for ColorInputStateWrapper
Auto Trait Implementations§
impl Freeze for ColorInputStateWrapper
impl RefUnwindSafe for ColorInputStateWrapper
impl Send for ColorInputStateWrapper
impl Sync for ColorInputStateWrapper
impl Unpin for ColorInputStateWrapper
impl UnsafeUnpin for ColorInputStateWrapper
impl UnwindSafe for ColorInputStateWrapper
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more