Struct style::properties::generated::style_structs::InheritedUI
source · pub struct InheritedUI {
pub cursor: T,
pub pointer_events: T,
}
Expand description
The InheritedUI style struct.
Fields§
§cursor: T
The cursor computed value.
pointer_events: T
The pointer-events 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.
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<InheritedUI> for InheritedUI
impl PartialEq<InheritedUI> for InheritedUI
source§fn eq(&self, other: &InheritedUI) -> bool
fn eq(&self, other: &InheritedUI) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for InheritedUI
Auto Trait Implementations§
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> 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>where
F: FnOnce(&Self) -> bool,
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>where F: FnOnce(&Self) -> bool,
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, Global>> for T
impl<T> MaybeBoxed<Box<T, Global>> for T
source§fn maybe_boxed(self) -> Box<T, Global>
fn maybe_boxed(self) -> Box<T, Global>
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