pub enum ShapeError {
InvalidTextRange,
InvalidGlyphRange,
TextTooLong,
InsufficientCapacity {
required: usize,
},
UnsupportedScript {
script: Script,
},
UnsupportedFeature {
tag: [u8; 4],
},
UnsupportedCluster {
offset: usize,
},
MissingGlyph {
offset: usize,
},
ShapingUnavailable,
Source(FontAccessError),
}Variants§
InvalidTextRange
InvalidGlyphRange
TextTooLong
InsufficientCapacity
UnsupportedScript
UnsupportedFeature
UnsupportedCluster
MissingGlyph
Source(FontAccessError)
Trait Implementations§
Source§impl Clone for ShapeError
impl Clone for ShapeError
impl Copy for ShapeError
Source§impl Debug for ShapeError
impl Debug for ShapeError
impl Eq for ShapeError
Source§impl From<FontAccessError> for ShapeError
impl From<FontAccessError> for ShapeError
Source§fn from(error: FontAccessError) -> Self
fn from(error: FontAccessError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ShapeError
impl PartialEq for ShapeError
impl StructuralPartialEq for ShapeError
Auto Trait Implementations§
impl Forget for ShapeError
impl Freeze for ShapeError
impl RefUnwindSafe for ShapeError
impl Send for ShapeError
impl Sync for ShapeError
impl Unpin for ShapeError
impl UnsafeUnpin for ShapeError
impl UnwindSafe for ShapeError
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