pub struct MetaString {
pub original: String,
pub encoding: Encoding,
pub bytes: Vec<u8>,
pub strip_last_char: bool,
pub special_char1: char,
pub special_char2: char,
}Fields§
§original: String§encoding: Encoding§bytes: Vec<u8>§strip_last_char: bool§special_char1: char§special_char2: charImplementations§
Trait Implementations§
Source§impl Clone for MetaString
impl Clone for MetaString
Source§fn clone(&self) -> MetaString
fn clone(&self) -> MetaString
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 MetaString
impl Debug for MetaString
Source§impl Default for MetaString
impl Default for MetaString
Source§fn default() -> MetaString
fn default() -> MetaString
Returns the “default value” for a type. Read more
Source§impl Hash for MetaString
impl Hash for MetaString
Source§impl PartialEq for MetaString
impl PartialEq for MetaString
impl Eq for MetaString
Auto Trait Implementations§
impl Freeze for MetaString
impl RefUnwindSafe for MetaString
impl Send for MetaString
impl Sync for MetaString
impl Unpin for MetaString
impl UnwindSafe for MetaString
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