pub enum BoxSizing {
ContentBox,
BorderBox,
}Expand description
The box-sizing keyword.
Variants§
ContentBox
content-box — width/height apply to the content box only.
BorderBox
border-box — width/height include padding and border.
Trait Implementations§
impl Copy for BoxSizing
impl Eq for BoxSizing
impl StructuralPartialEq for BoxSizing
Auto Trait Implementations§
impl Freeze for BoxSizing
impl RefUnwindSafe for BoxSizing
impl Send for BoxSizing
impl Sync for BoxSizing
impl Unpin for BoxSizing
impl UnsafeUnpin for BoxSizing
impl UnwindSafe for BoxSizing
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