pub enum TextBlockError {
InvalidWidth,
InvalidFontSize,
InvalidLineHeight,
InvalidCharacterWidth,
InvalidCharactersPerLine,
}Variants§
Trait Implementations§
Source§impl Clone for TextBlockError
impl Clone for TextBlockError
Source§fn clone(&self) -> TextBlockError
fn clone(&self) -> TextBlockError
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 moreSource§impl Debug for TextBlockError
impl Debug for TextBlockError
Source§impl PartialEq for TextBlockError
impl PartialEq for TextBlockError
Source§fn eq(&self, other: &TextBlockError) -> bool
fn eq(&self, other: &TextBlockError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for TextBlockError
impl Eq for TextBlockError
impl StructuralPartialEq for TextBlockError
Auto Trait Implementations§
impl Freeze for TextBlockError
impl RefUnwindSafe for TextBlockError
impl Send for TextBlockError
impl Sync for TextBlockError
impl Unpin for TextBlockError
impl UnsafeUnpin for TextBlockError
impl UnwindSafe for TextBlockError
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