pub struct BoxSpec {
pub content_alignment: Alignment,
pub propagate_min_constraints: bool,
}Expand description
Specification for Box layout behavior.
Fields§
§content_alignment: Alignment§propagate_min_constraints: boolImplementations§
Trait Implementations§
impl Copy for BoxSpec
impl StructuralPartialEq for BoxSpec
Auto Trait Implementations§
impl Freeze for BoxSpec
impl RefUnwindSafe for BoxSpec
impl Send for BoxSpec
impl Sync for BoxSpec
impl Unpin for BoxSpec
impl UnwindSafe for BoxSpec
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