pub enum LayoutWarningKind {
TextClipped,
ContentOverflow,
ForcedPageBreak,
HeaderFooterOverflow,
}Variants§
TextClipped
Text was cut off because its box was too small (Overflow::Clip).
ContentOverflow
A container’s content overflowed its box and was clipped.
ForcedPageBreak
An atomic element bigger than a whole page was forced onto its own page and clipped there (Grundprinzip 7).
Header/Footer content was taller than its reserved band and got clipped (band size is fixed, never grows, ADR-011).
Trait Implementations§
Source§impl Clone for LayoutWarningKind
impl Clone for LayoutWarningKind
Source§fn clone(&self) -> LayoutWarningKind
fn clone(&self) -> LayoutWarningKind
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 LayoutWarningKind
Source§impl Debug for LayoutWarningKind
impl Debug for LayoutWarningKind
impl Eq for LayoutWarningKind
Source§impl PartialEq for LayoutWarningKind
impl PartialEq for LayoutWarningKind
impl StructuralPartialEq for LayoutWarningKind
Auto Trait Implementations§
impl Freeze for LayoutWarningKind
impl RefUnwindSafe for LayoutWarningKind
impl Send for LayoutWarningKind
impl Sync for LayoutWarningKind
impl Unpin for LayoutWarningKind
impl UnsafeUnpin for LayoutWarningKind
impl UnwindSafe for LayoutWarningKind
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