pub struct Column {
pub column_count: T,
pub column_width: T,
pub column_span: T,
}Expand description
The Column style struct.
Fields§
§column_count: TThe column-count computed value.
column_width: TThe column-width computed value.
column_span: TThe column-span computed value.
Implementations§
Source§impl Column
impl Column
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 get_column_count(&self) -> &T
pub fn get_column_count(&self) -> &T
Get a reference to the computed value for column-count.
Sourcepub fn slow_clone_column_count(&self) -> T
pub fn slow_clone_column_count(&self) -> T
Clone the computed value for column-count. Prefer
get_column_count where a reference is enough.
Sourcepub fn column_count_equals(&self, other: &Self) -> bool
pub fn column_count_equals(&self, other: &Self) -> bool
Whether self and other have the same computed value for column-count.
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 get_column_width(&self) -> &T
pub fn get_column_width(&self) -> &T
Get a reference to the computed value for column-width.
Sourcepub fn slow_clone_column_width(&self) -> T
pub fn slow_clone_column_width(&self) -> T
Clone the computed value for column-width. Prefer
get_column_width where a reference is enough.
Sourcepub fn column_width_equals(&self, other: &Self) -> bool
pub fn column_width_equals(&self, other: &Self) -> bool
Whether self and other have the same computed value for column-width.
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 get_column_span(&self) -> &T
pub fn get_column_span(&self) -> &T
Get a reference to the computed value for column-span.
Sourcepub fn slow_clone_column_span(&self) -> T
pub fn slow_clone_column_span(&self) -> T
Clone the computed value for column-span. Prefer
get_column_span where a reference is enough.
Sourcepub fn column_span_equals(&self, other: &Self) -> bool
pub fn column_span_equals(&self, other: &Self) -> bool
Whether self and other have the same 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
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 UnsafeUnpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
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>
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 more