pub struct Decoded<S = Span<Plain<Layout>, Owned, Frozen>> { /* private fields */ }Implementations§
Source§impl<S: AsRef<[u8]>> Decoded<S>
impl<S: AsRef<[u8]>> Decoded<S>
pub fn iter(&self) -> Iter<'_> ⓘ
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn get(&self, name: &[u8]) -> Option<&[u8]>
pub fn as_bytes(&self) -> &[u8] ⓘ
pub fn ranges(&self) -> RangeIter<'_> ⓘ
pub fn try_to_owned(&self) -> Result<Vec<Owned>, Error>
Trait Implementations§
impl Eq for Decoded
Source§impl<'a> IntoIterator for &'a Decoded
impl<'a> IntoIterator for &'a Decoded
Auto Trait Implementations§
impl<S> Freeze for Decoded<S>where
S: Freeze,
impl<S> RefUnwindSafe for Decoded<S>where
S: RefUnwindSafe,
impl<S> Send for Decoded<S>where
S: Send,
impl<S> Sync for Decoded<S>where
S: Sync,
impl<S> Unpin for Decoded<S>where
S: Unpin,
impl<S> UnsafeUnpin for Decoded<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for Decoded<S>where
S: UnwindSafe,
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