pub struct SliceTextRef<'a, T: ?Sized>(/* private fields */);Expand description
The text, or a part of it, that a node’s slices lend: a Text’s is
borrowed from its layout, which an update changes in place; a text
field’s is held by the slices.
Trait Implementations§
Source§impl<T: ?Sized> Deref for SliceTextRef<'_, T>
impl<T: ?Sized> Deref for SliceTextRef<'_, T>
Auto Trait Implementations§
impl<'a, T> !RefUnwindSafe for SliceTextRef<'a, T>
impl<'a, T> !Send for SliceTextRef<'a, T>
impl<'a, T> !Sync for SliceTextRef<'a, T>
impl<'a, T> !UnwindSafe for SliceTextRef<'a, T>
impl<'a, T> Freeze for SliceTextRef<'a, T>
impl<'a, T> Unpin for SliceTextRef<'a, T>
impl<'a, T> UnsafeUnpin for SliceTextRef<'a, T>where
TextBorrow<'a, T>: UnsafeUnpin,
T: ?Sized,
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
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