pub struct MultiColSpec {
pub count: Option<i32>,
pub width: Option<i32>,
pub gap: i32,
}Expand description
多段組の指定。いずれも解決済みのピクセル値/個数。
Fields§
§count: Option<i32>column-count。未指定は None。
width: Option<i32>column-width(1 列の最小目安幅、px)。未指定は None。
gap: i32column-gap(px)。normal は呼び出し側で 1em 相当へ解決しておく。
Trait Implementations§
Source§impl Clone for MultiColSpec
impl Clone for MultiColSpec
Source§fn clone(&self) -> MultiColSpec
fn clone(&self) -> MultiColSpec
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MultiColSpec
Source§impl Debug for MultiColSpec
impl Debug for MultiColSpec
impl Eq for MultiColSpec
Source§impl PartialEq for MultiColSpec
impl PartialEq for MultiColSpec
Source§fn eq(&self, other: &MultiColSpec) -> bool
fn eq(&self, other: &MultiColSpec) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MultiColSpec
Auto Trait Implementations§
impl Freeze for MultiColSpec
impl RefUnwindSafe for MultiColSpec
impl Send for MultiColSpec
impl Sync for MultiColSpec
impl Unpin for MultiColSpec
impl UnsafeUnpin for MultiColSpec
impl UnwindSafe for MultiColSpec
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.