pub struct TextSource {
pub data: String,
pub text_type: Option<TextType>,
}Fields§
§data: String§text_type: Option<TextType>Trait Implementations§
Source§impl Clone for TextSource
impl Clone for TextSource
Source§fn clone(&self) -> TextSource
fn clone(&self) -> TextSource
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 moreAuto Trait Implementations§
impl Freeze for TextSource
impl RefUnwindSafe for TextSource
impl Send for TextSource
impl Sync for TextSource
impl Unpin for TextSource
impl UnwindSafe for TextSource
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