[][src]Trait gvariant::aligned_bytes::TryAsAlignedMut

pub trait TryAsAlignedMut<A: Alignment>: TryAsAligned<A> {
    fn try_as_aligned_mut(&mut self) -> Result<&mut AlignedSlice<A>, Misaligned>;
}

Allows widening the alignment by performing fallible runtime checks.

Required methods

Loading content...

Implementations on Foreign Types

impl<A: Alignment> TryAsAlignedMut<A> for [u8][src]

Loading content...

Implementors

impl<A: Alignment, T: AsRef<[u8]> + AsMut<[u8]>> TryAsAlignedMut<A> for T[src]

impl<FromA: Alignment, ToA: Alignment> TryAsAlignedMut<ToA> for AlignedSlice<FromA>[src]

Loading content...