Struct style::properties::generated::style_structs::Column
source · pub struct Column {
pub column_width: T,
pub column_count: T,
pub column_span: T,
}
Expand description
The Column style struct.
Fields§
§column_width: T
The column-width computed value.
column_count: T
The column-count computed value.
column_span: T
The column-span computed value.
Implementations§
source§impl Column
impl Column
sourcepub fn set_column_width(&mut self, v: T)
pub fn set_column_width(&mut self, v: T)
Set column-width.
sourcepub fn copy_column_width_from(&mut self, other: &Self)
pub fn copy_column_width_from(&mut self, other: &Self)
Set column-width from other struct.
sourcepub fn reset_column_width(&mut self, other: &Self)
pub fn reset_column_width(&mut self, other: &Self)
Reset column-width from the initial struct.
sourcepub fn clone_column_width(&self) -> T
pub fn clone_column_width(&self) -> T
Get the computed value for column-width.
sourcepub fn set_column_count(&mut self, v: T)
pub fn set_column_count(&mut self, v: T)
Set column-count.
sourcepub fn copy_column_count_from(&mut self, other: &Self)
pub fn copy_column_count_from(&mut self, other: &Self)
Set column-count from other struct.
sourcepub fn reset_column_count(&mut self, other: &Self)
pub fn reset_column_count(&mut self, other: &Self)
Reset column-count from the initial struct.
sourcepub fn clone_column_count(&self) -> T
pub fn clone_column_count(&self) -> T
Get the computed value for column-count.
sourcepub fn set_column_span(&mut self, v: T)
pub fn set_column_span(&mut self, v: T)
Set column-span.
sourcepub fn copy_column_span_from(&mut self, other: &Self)
pub fn copy_column_span_from(&mut self, other: &Self)
Set column-span from other struct.
sourcepub fn reset_column_span(&mut self, other: &Self)
pub fn reset_column_span(&mut self, other: &Self)
Reset column-span from the initial struct.
sourcepub fn clone_column_span(&self) -> T
pub fn clone_column_span(&self) -> T
Get the computed value for column-span.
Trait Implementations§
source§impl MallocSizeOf for Column
impl MallocSizeOf for Column
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.
impl StructuralPartialEq for Column
Auto Trait Implementations§
impl Freeze for Column
impl RefUnwindSafe for Column
impl Send for Column
impl Sync for Column
impl Unpin for Column
impl UnwindSafe for Column
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§impl<T> MaybeBoxed<Box<T>> for T
impl<T> MaybeBoxed<Box<T>> for T
source§fn maybe_boxed(self) -> Box<T>
fn maybe_boxed(self) -> Box<T>
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