pub struct ZipStr<'a>(/* private fields */);Expand description
A borrowed data from a Zip archive, typically for comments or non-path text.
Zip archives may contain text that is not strictly UTF-8. This type represents such text as a byte slice.
Implementations§
Trait Implementations§
Source§impl<'a> Ord for ZipStr<'a>
impl<'a> Ord for ZipStr<'a>
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<'a> PartialOrd for ZipStr<'a>
impl<'a> PartialOrd for ZipStr<'a>
impl<'a> Copy for ZipStr<'a>
impl<'a> Eq for ZipStr<'a>
impl<'a> StructuralPartialEq for ZipStr<'a>
Auto Trait Implementations§
impl<'a> Freeze for ZipStr<'a>
impl<'a> RefUnwindSafe for ZipStr<'a>
impl<'a> Send for ZipStr<'a>
impl<'a> Sync for ZipStr<'a>
impl<'a> Unpin for ZipStr<'a>
impl<'a> UnwindSafe for ZipStr<'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