pub struct SemanticsText(/* private fields */);Expand description
A text node’s text in the semantics tree, shared with the node’s modifier slices rather than copied out of them.
Implementations§
Trait Implementations§
Source§impl Clone for SemanticsText
impl Clone for SemanticsText
Source§impl Debug for SemanticsText
impl Debug for SemanticsText
impl Eq for SemanticsText
Source§impl From<&str> for SemanticsText
impl From<&str> for SemanticsText
Auto Trait Implementations§
impl !RefUnwindSafe for SemanticsText
impl !Send for SemanticsText
impl !Sync for SemanticsText
impl !UnwindSafe for SemanticsText
impl Freeze for SemanticsText
impl Unpin for SemanticsText
impl UnsafeUnpin for SemanticsText
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
impl<T> ErasedDestructor for Twhere
T: 'static,
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