pub enum PlacementError {
BaselineCount {
required: usize,
provided: usize,
},
MissingBaseline {
line: usize,
},
InsufficientGlyphCapacity {
required: usize,
},
InsufficientCaretCapacity {
required: usize,
},
InvalidLayout,
NegativeAdvance {
glyph: usize,
},
NonMonotonicGlyphs {
glyph: usize,
},
NonMonotonicCarets {
caret: usize,
},
CoordinateOverflow,
Baseline {
line: usize,
error: BaselineError,
},
}Variants§
BaselineCount
MissingBaseline
InsufficientGlyphCapacity
InsufficientCaretCapacity
InvalidLayout
NegativeAdvance
NonMonotonicGlyphs
NonMonotonicCarets
CoordinateOverflow
Baseline
Trait Implementations§
Source§impl Clone for PlacementError
impl Clone for PlacementError
Source§fn clone(&self) -> PlacementError
fn clone(&self) -> PlacementError
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 PlacementError
Source§impl Debug for PlacementError
impl Debug for PlacementError
impl Eq for PlacementError
Source§impl PartialEq for PlacementError
impl PartialEq for PlacementError
impl StructuralPartialEq for PlacementError
Auto Trait Implementations§
impl Freeze for PlacementError
impl RefUnwindSafe for PlacementError
impl Send for PlacementError
impl Sync for PlacementError
impl Unpin for PlacementError
impl UnsafeUnpin for PlacementError
impl UnwindSafe for PlacementError
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