pub struct FoldStr<'a>(pub &'a str);
Expand description
Block folded string (>
), lines are folded by YAML consumers.
Tuple Fields§
§0: &'a str
Trait Implementations§
impl<'a> Copy for FoldStr<'a>
Auto Trait Implementations§
impl<'a> Freeze for FoldStr<'a>
impl<'a> RefUnwindSafe for FoldStr<'a>
impl<'a> Send for FoldStr<'a>
impl<'a> Sync for FoldStr<'a>
impl<'a> Unpin for FoldStr<'a>
impl<'a> UnwindSafe for FoldStr<'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