pub enum LayoutError {
Show 17 variants
Bidi(BidiError),
NoTypeface,
TooManyTypefaces,
InsufficientRunCapacity {
required: usize,
},
InsufficientGlyphCapacity {
minimum: usize,
},
InsufficientLineCapacity {
required: usize,
},
InsufficientScratchCapacity {
minimum: usize,
},
InsufficientPositionedCapacity {
minimum: usize,
},
InsufficientCaretCapacity {
minimum: usize,
},
InvalidRun,
InvalidTypefaceOutput {
run: usize,
},
InvalidWidth,
MissingLineWidth {
line: usize,
},
InvalidLineHeight,
CoordinateOverflow,
Font(FontAccessError),
Shape {
run: usize,
error: ShapeError,
},
}Variants§
Bidi(BidiError)
NoTypeface
TooManyTypefaces
InsufficientRunCapacity
InsufficientGlyphCapacity
InsufficientLineCapacity
InsufficientScratchCapacity
InsufficientPositionedCapacity
InsufficientCaretCapacity
InvalidRun
InvalidTypefaceOutput
InvalidWidth
MissingLineWidth
InvalidLineHeight
CoordinateOverflow
Font(FontAccessError)
Shape
Trait Implementations§
Source§impl Clone for LayoutError
impl Clone for LayoutError
impl Copy for LayoutError
Source§impl Debug for LayoutError
impl Debug for LayoutError
impl Eq for LayoutError
Source§impl From<BidiError> for LayoutError
impl From<BidiError> for LayoutError
Source§impl From<FontAccessError> for LayoutError
impl From<FontAccessError> for LayoutError
Source§fn from(error: FontAccessError) -> Self
fn from(error: FontAccessError) -> Self
Converts to this type from the input type.
Source§impl From<LayoutError> for WorkspaceError
impl From<LayoutError> for WorkspaceError
Source§fn from(error: LayoutError) -> Self
fn from(error: LayoutError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for LayoutError
impl PartialEq for LayoutError
impl StructuralPartialEq for LayoutError
Auto Trait Implementations§
impl Forget for LayoutError
impl Freeze for LayoutError
impl RefUnwindSafe for LayoutError
impl Send for LayoutError
impl Sync for LayoutError
impl Unpin for LayoutError
impl UnsafeUnpin for LayoutError
impl UnwindSafe for LayoutError
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