Struct style::properties::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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§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