Struct TextRangeUnit
#[repr(transparent)]pub struct TextRangeUnit(pub i32);Tuple Fields§
§0: i32Implementations§
§impl TextRangeUnit
impl TextRangeUnit
pub const Character: Self
pub const Word: Self
pub const Sentence: Self
pub const Paragraph: Self
pub const Line: Self
pub const Story: Self
pub const Screen: Self
pub const Section: Self
pub const Window: Self
pub const CharacterFormat: Self
pub const ParagraphFormat: Self
pub const Object: Self
pub const HardParagraph: Self
pub const Cluster: Self
pub const Bold: Self
pub const Italic: Self
pub const Underline: Self
pub const Strikethrough: Self
pub const ProtectedText: Self
pub const Link: Self
pub const SmallCaps: Self
pub const AllCaps: Self
pub const Hidden: Self
pub const Outline: Self
pub const Shadow: Self
pub const Imprint: Self
pub const Disabled: Self
pub const Revised: Self
pub const Subscript: Self
pub const Superscript: Self
pub const FontBound: Self
pub const LinkProtected: Self
pub const ContentLink: Self
Trait Implementations§
§impl Clone for TextRangeUnit
impl Clone for TextRangeUnit
§fn clone(&self) -> TextRangeUnit
fn clone(&self) -> TextRangeUnit
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for TextRangeUnit
impl Debug for TextRangeUnit
§impl Default for TextRangeUnit
impl Default for TextRangeUnit
§fn default() -> TextRangeUnit
fn default() -> TextRangeUnit
Returns the “default value” for a type. Read more
§impl PartialEq for TextRangeUnit
impl PartialEq for TextRangeUnit
impl Copy for TextRangeUnit
impl Eq for TextRangeUnit
impl StructuralPartialEq for TextRangeUnit
Auto Trait Implementations§
impl Freeze for TextRangeUnit
impl RefUnwindSafe for TextRangeUnit
impl Send for TextRangeUnit
impl Sync for TextRangeUnit
impl Unpin for TextRangeUnit
impl UnwindSafe for TextRangeUnit
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