pub struct DelText<'a> {
pub space: Option<TextSpace>,
pub text: Cow<'a, str>,
}
Fields§
§space: Option<TextSpace>
Specifies how to handle whitespace
text: Cow<'a, str>
Specifies a literal text
Trait Implementations§
Source§impl<'a> From<DelText<'a>> for RunContent<'a>
impl<'a> From<DelText<'a>> for RunContent<'a>
Source§fn from(original: DelText<'a>) -> RunContent<'a>
fn from(original: DelText<'a>) -> RunContent<'a>
Converts to this type from the input type.
Auto Trait Implementations§
impl<'a> Freeze for DelText<'a>
impl<'a> RefUnwindSafe for DelText<'a>
impl<'a> Send for DelText<'a>
impl<'a> Sync for DelText<'a>
impl<'a> Unpin for DelText<'a>
impl<'a> UnwindSafe for DelText<'a>
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