Struct pdf_writer::Str
source · pub struct Str<'a>(pub &'a [u8]);Expand description
A string object (any byte sequence).
This is written as (Thing).
Tuple Fields§
§0: &'a [u8]Trait Implementations§
source§impl<'a> Ord for Str<'a>
impl<'a> Ord for Str<'a>
source§impl<'a> PartialEq for Str<'a>
impl<'a> PartialEq for Str<'a>
source§impl<'a> PartialOrd for Str<'a>
impl<'a> PartialOrd for Str<'a>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl<'a> Copy for Str<'a>
impl<'a> Eq for Str<'a>
impl<'a> StructuralEq for Str<'a>
impl<'a> StructuralPartialEq for Str<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Str<'a>
impl<'a> Send for Str<'a>
impl<'a> Sync for Str<'a>
impl<'a> Unpin for Str<'a>
impl<'a> UnwindSafe for Str<'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