#[repr(C, u8)]pub enum InlineWord {
Tab,
Return,
Space,
Word(InlineTextContents),
}Variants§
Implementations§
Source§impl InlineWord
impl InlineWord
pub fn has_text_content(&self) -> bool
pub fn get_text_content(&self) -> Option<&InlineTextContents>
Trait Implementations§
Source§impl Clone for InlineWord
impl Clone for InlineWord
Source§fn clone(&self) -> InlineWord
fn clone(&self) -> InlineWord
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 moreSource§impl Debug for InlineWord
impl Debug for InlineWord
Source§impl FromIterator<InlineWord> for InlineWordVec
impl FromIterator<InlineWord> for InlineWordVec
Source§fn from_iter<T>(iter: T) -> Selfwhere
T: IntoIterator<Item = InlineWord>,
fn from_iter<T>(iter: T) -> Selfwhere
T: IntoIterator<Item = InlineWord>,
Creates a value from an iterator. Read more
Source§impl PartialEq for InlineWord
impl PartialEq for InlineWord
Source§impl PartialOrd for InlineWord
impl PartialOrd for InlineWord
impl StructuralPartialEq for InlineWord
Auto Trait Implementations§
impl Freeze for InlineWord
impl RefUnwindSafe for InlineWord
impl Send for InlineWord
impl Sync for InlineWord
impl Unpin for InlineWord
impl UnwindSafe for InlineWord
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more