Struct style::properties::style_structs::List
[−]
[src]
pub struct List { pub list_style_position: T, pub list_style_type: T, pub list_style_image: T, pub quotes: T, }
The List style struct.
Fields
list_style_position: T
The list-style-position computed value.
list_style_type: T
The list-style-type computed value.
list_style_image: T
The list-style-image computed value.
quotes: T
The quotes computed value.
Methods
impl List
[src]
pub fn set_list_style_position(&mut self, v: T)
[src]
Set list-style-position.
pub fn copy_list_style_position_from(&mut self, other: &Self)
[src]
Set list-style-position from other struct.
pub fn reset_list_style_position(&mut self, other: &Self)
[src]
Reset list-style-position from the initial struct.
pub fn clone_list_style_position(&self) -> T
[src]
Get the computed value for list-style-position.
pub fn set_list_style_type(&mut self, v: T)
[src]
Set list-style-type.
pub fn copy_list_style_type_from(&mut self, other: &Self)
[src]
Set list-style-type from other struct.
pub fn reset_list_style_type(&mut self, other: &Self)
[src]
Reset list-style-type from the initial struct.
pub fn clone_list_style_type(&self) -> T
[src]
Get the computed value for list-style-type.
pub fn set_list_style_image(&mut self, v: T)
[src]
Set list-style-image.
pub fn copy_list_style_image_from(&mut self, other: &Self)
[src]
Set list-style-image from other struct.
pub fn reset_list_style_image(&mut self, other: &Self)
[src]
Reset list-style-image from the initial struct.
pub fn clone_list_style_image(&self) -> T
[src]
Get the computed value for list-style-image.
pub fn set_quotes(&mut self, v: T)
[src]
Set quotes.
pub fn copy_quotes_from(&mut self, other: &Self)
[src]
Set quotes from other struct.
pub fn reset_quotes(&mut self, other: &Self)
[src]
Reset quotes from the initial struct.
pub fn clone_quotes(&self) -> T
[src]
Get the computed value for quotes.
Trait Implementations
impl Clone for List
[src]
fn clone(&self) -> List
[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 List
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl MallocSizeOf for List
[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