pub struct Padded { /* private fields */ }
Expand description
The mpadded
element renders the same as its in-flow child content, but with the size and
relative positioning point of its content modified according to mpadded
’s attributes.
Implementations§
Trait Implementations§
source§impl IntoElements for Padded
impl IntoElements for Padded
source§fn into_elements(self) -> Elements
fn into_elements(self) -> Elements
Converts the type into elements.
source§impl Ord for Padded
impl Ord for Padded
source§impl PartialEq for Padded
impl PartialEq for Padded
source§impl PartialOrd for Padded
impl PartialOrd for Padded
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for Padded
impl StructuralEq for Padded
impl StructuralPartialEq for Padded
Auto Trait Implementations§
impl RefUnwindSafe for Padded
impl Send for Padded
impl Sync for Padded
impl Unpin for Padded
impl UnwindSafe for Padded
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