pub enum ControlFieldValue<'a> {
Simple(Cow<'a, str>),
Folded(Cow<'a, str>),
Multiline(Cow<'a, str>),
}
Expand description
A field value in a control file.
Variants§
Implementations§
Trait Implementations§
Source§impl<'a> Clone for ControlFieldValue<'a>
impl<'a> Clone for ControlFieldValue<'a>
Source§fn clone(&self) -> ControlFieldValue<'a>
fn clone(&self) -> ControlFieldValue<'a>
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<'a> Debug for ControlFieldValue<'a>
impl<'a> Debug for ControlFieldValue<'a>
Auto Trait Implementations§
impl<'a> Freeze for ControlFieldValue<'a>
impl<'a> RefUnwindSafe for ControlFieldValue<'a>
impl<'a> Send for ControlFieldValue<'a>
impl<'a> Sync for ControlFieldValue<'a>
impl<'a> Unpin for ControlFieldValue<'a>
impl<'a> UnwindSafe for ControlFieldValue<'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