Struct style::properties::style_structs::Column
[−]
[src]
pub struct Column { pub column_width: T, pub column_count: T, pub column_gap: T, }
The Column style struct.
Fields
column_width: T
The column-width computed value.
column_count: T
The column-count computed value.
column_gap: T
The column-gap computed value.
Methods
impl Column
[src]
pub fn set_column_width(&mut self, v: T)
[src]
Set column-width.
pub fn copy_column_width_from(&mut self, other: &Self)
[src]
Set column-width from other struct.
pub fn reset_column_width(&mut self, other: &Self)
[src]
Reset column-width from the initial struct.
pub fn clone_column_width(&self) -> T
[src]
Get the computed value for column-width.
pub fn set_column_count(&mut self, v: T)
[src]
Set column-count.
pub fn copy_column_count_from(&mut self, other: &Self)
[src]
Set column-count from other struct.
pub fn reset_column_count(&mut self, other: &Self)
[src]
Reset column-count from the initial struct.
pub fn clone_column_count(&self) -> T
[src]
Get the computed value for column-count.
pub fn set_column_gap(&mut self, v: T)
[src]
Set column-gap.
pub fn copy_column_gap_from(&mut self, other: &Self)
[src]
Set column-gap from other struct.
pub fn reset_column_gap(&mut self, other: &Self)
[src]
Reset column-gap from the initial struct.
pub fn clone_column_gap(&self) -> T
[src]
Get the computed value for column-gap.
Trait Implementations
impl Clone for Column
[src]
fn clone(&self) -> Column
[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 Column
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl MallocSizeOf for Column
[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