pub enum Placement {
Block,
Inline,
Before,
Start,
End,
}
Expand description
Placement of an element.
Variants§
Block
Stacked in the block order.
Inline
Stacked in the inline order.
Before
Before edge coincides with that of reference area, touching the edge of the previous block.
Start
Start edge coincides with that of reference area, aligned on the non-stacking axis of the reference area.
End
End edge coincides with that of reference area, aligned on the non-stacking axis of the reference area.
Trait Implementations§
impl Copy for Placement
impl Eq for Placement
impl StructuralPartialEq for Placement
Auto Trait Implementations§
impl Freeze for Placement
impl RefUnwindSafe for Placement
impl Send for Placement
impl Sync for Placement
impl Unpin for Placement
impl UnwindSafe for Placement
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
)