Struct style::properties::style_structs::InheritedBox
[−]
[src]
pub struct InheritedBox { pub visibility: T, pub writing_mode: T, pub direction: T, pub image_rendering: T, }
The InheritedBox style struct.
Fields
visibility: T
The visibility computed value.
writing_mode: T
The writing-mode computed value.
direction: T
The direction computed value.
image_rendering: T
The image-rendering computed value.
Methods
impl InheritedBox
[src]
pub fn set_visibility(&mut self, v: T)
[src]
Set visibility.
pub fn copy_visibility_from(&mut self, other: &Self)
[src]
Set visibility from other struct.
pub fn reset_visibility(&mut self, other: &Self)
[src]
Reset visibility from the initial struct.
pub fn clone_visibility(&self) -> T
[src]
Get the computed value for visibility.
pub fn set_writing_mode(&mut self, v: T)
[src]
Set writing-mode.
pub fn copy_writing_mode_from(&mut self, other: &Self)
[src]
Set writing-mode from other struct.
pub fn reset_writing_mode(&mut self, other: &Self)
[src]
Reset writing-mode from the initial struct.
pub fn clone_writing_mode(&self) -> T
[src]
Get the computed value for writing-mode.
pub fn set_direction(&mut self, v: T)
[src]
Set direction.
pub fn copy_direction_from(&mut self, other: &Self)
[src]
Set direction from other struct.
pub fn reset_direction(&mut self, other: &Self)
[src]
Reset direction from the initial struct.
pub fn clone_direction(&self) -> T
[src]
Get the computed value for direction.
pub fn set_image_rendering(&mut self, v: T)
[src]
Set image-rendering.
pub fn copy_image_rendering_from(&mut self, other: &Self)
[src]
Set image-rendering from other struct.
pub fn reset_image_rendering(&mut self, other: &Self)
[src]
Reset image-rendering from the initial struct.
pub fn clone_image_rendering(&self) -> T
[src]
Get the computed value for image-rendering.
Trait Implementations
impl Clone for InheritedBox
[src]
fn clone(&self) -> InheritedBox
[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 InheritedBox
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl MallocSizeOf for InheritedBox
[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
impl PartialEq for InheritedBox
[src]
fn eq(&self, __arg_0: &InheritedBox) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &InheritedBox) -> bool
[src]
This method tests for !=
.