Struct style::properties::generated::style_structs::InheritedUI
source · pub struct InheritedUI {
pub cursor: T,
pub pointer_events: T,
pub color_scheme: T,
}
Expand description
The InheritedUI style struct.
Fields§
§cursor: T
The cursor computed value.
pointer_events: T
The pointer-events computed value.
color_scheme: T
The color-scheme computed value.
Implementations§
source§impl InheritedUI
impl InheritedUI
sourcepub fn set_cursor(&mut self, v: T)
pub fn set_cursor(&mut self, v: T)
Set cursor.
sourcepub fn copy_cursor_from(&mut self, other: &Self)
pub fn copy_cursor_from(&mut self, other: &Self)
Set cursor from other struct.
sourcepub fn reset_cursor(&mut self, other: &Self)
pub fn reset_cursor(&mut self, other: &Self)
Reset cursor from the initial struct.
sourcepub fn clone_cursor(&self) -> T
pub fn clone_cursor(&self) -> T
Get the computed value for cursor.
sourcepub fn set_pointer_events(&mut self, v: T)
pub fn set_pointer_events(&mut self, v: T)
Set pointer-events.
sourcepub fn copy_pointer_events_from(&mut self, other: &Self)
pub fn copy_pointer_events_from(&mut self, other: &Self)
Set pointer-events from other struct.
sourcepub fn reset_pointer_events(&mut self, other: &Self)
pub fn reset_pointer_events(&mut self, other: &Self)
Reset pointer-events from the initial struct.
sourcepub fn clone_pointer_events(&self) -> T
pub fn clone_pointer_events(&self) -> T
Get the computed value for pointer-events.
sourcepub fn set_color_scheme(&mut self, v: T)
pub fn set_color_scheme(&mut self, v: T)
Set color-scheme.
sourcepub fn copy_color_scheme_from(&mut self, other: &Self)
pub fn copy_color_scheme_from(&mut self, other: &Self)
Set color-scheme from other struct.
sourcepub fn reset_color_scheme(&mut self, other: &Self)
pub fn reset_color_scheme(&mut self, other: &Self)
Reset color-scheme from the initial struct.
sourcepub fn clone_color_scheme(&self) -> T
pub fn clone_color_scheme(&self) -> T
Get the computed value for color-scheme.
sourcepub fn color_scheme_bits(&self) -> ColorSchemeFlags
pub fn color_scheme_bits(&self) -> ColorSchemeFlags
Returns the ColorSchemeFlags corresponding to the value of color-scheme
.
Trait Implementations§
source§impl Clone for InheritedUI
impl Clone for InheritedUI
source§fn clone(&self) -> InheritedUI
fn clone(&self) -> InheritedUI
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 moresource§impl Debug for InheritedUI
impl Debug for InheritedUI
source§impl MallocSizeOf for InheritedUI
impl MallocSizeOf for InheritedUI
source§fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
Measure the heap usage of all descendant heap-allocated structures, but
not the space taken up by the value itself.
source§impl PartialEq for InheritedUI
impl PartialEq for InheritedUI
impl StructuralPartialEq for InheritedUI
Auto Trait Implementations§
impl Freeze for InheritedUI
impl RefUnwindSafe for InheritedUI
impl Send for InheritedUI
impl Sync for InheritedUI
impl Unpin for InheritedUI
impl UnwindSafe for InheritedUI
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
)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 moresource§impl<T> MaybeBoxed<Box<T>> for T
impl<T> MaybeBoxed<Box<T>> for T
source§fn maybe_boxed(self) -> Box<T>
fn maybe_boxed(self) -> Box<T>
Convert
source§impl<T> MaybeBoxed<T> for T
impl<T> MaybeBoxed<T> for T
source§fn maybe_boxed(self) -> T
fn maybe_boxed(self) -> T
Convert