pub struct ChildPlacement {
pub col: usize,
pub is_span: bool,
pub y: i32,
}Expand description
子要素の最終配置結果。
Fields§
§col: usize何列目か(Spanner の場合は 0)。
is_span: bool全幅スパンかどうか。
y: i32コンテナ内での上端 y 座標(px)。
Trait Implementations§
Source§impl Clone for ChildPlacement
impl Clone for ChildPlacement
Source§fn clone(&self) -> ChildPlacement
fn clone(&self) -> ChildPlacement
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 ChildPlacement
Source§impl Debug for ChildPlacement
impl Debug for ChildPlacement
impl Eq for ChildPlacement
Source§impl PartialEq for ChildPlacement
impl PartialEq for ChildPlacement
impl StructuralPartialEq for ChildPlacement
Auto Trait Implementations§
impl Freeze for ChildPlacement
impl RefUnwindSafe for ChildPlacement
impl Send for ChildPlacement
impl Sync for ChildPlacement
impl Unpin for ChildPlacement
impl UnsafeUnpin for ChildPlacement
impl UnwindSafe for ChildPlacement
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.