Struct style::properties::style_structs::Pointing
[−]
[src]
pub struct Pointing {
pub cursor: T,
pub pointer_events: T,
}The Pointing style struct.
Fields
cursor: T
The cursor computed value.
pointer_events: T
The pointer-events computed value.
Methods
impl Pointing[src]
pub fn set_cursor(&mut self, v: T)[src]
Set cursor.
pub fn copy_cursor_from(&mut self, other: &Self)[src]
Set cursor from other struct.
pub fn reset_cursor(&mut self, other: &Self)[src]
Reset cursor from the initial struct.
pub fn clone_cursor(&self) -> T[src]
Get the computed value for cursor.
pub fn set_pointer_events(&mut self, v: T)[src]
Set pointer-events.
pub fn copy_pointer_events_from(&mut self, other: &Self)[src]
Set pointer-events from other struct.
pub fn reset_pointer_events(&mut self, other: &Self)[src]
Reset pointer-events from the initial struct.
pub fn clone_pointer_events(&self) -> T[src]
Get the computed value for pointer-events.
Trait Implementations
impl Clone for Pointing[src]
fn clone(&self) -> Pointing[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Debug for Pointing[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl MallocSizeOf for Pointing[src]
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize[src]
Measure the heap usage of all descendant heap-allocated structures, but not the space taken up by the value itself. Read more