[][src]Trait gvariant::aligned_bytes::AsAlignedMut

pub trait AsAlignedMut<A: Alignment>: AsAligned<A> {
    fn as_aligned_mut(&mut self) -> &mut AlignedSlice<A>;
}

Allows narrowing the alignment of a &mut AlignedSlice

Just the same as AsAligned, but mut.

Required methods

fn as_aligned_mut(&mut self) -> &mut AlignedSlice<A>

Loading content...

Implementations on Foreign Types

impl AsAlignedMut<A1> for [u8][src]

Loading content...

Implementors

impl<FromA: Alignment, ToA: Alignment> AsAlignedMut<ToA> for AlignedSlice<FromA> where
    FromA: AlignedTo<ToA>, 
[src]

impl<T: AsRef<[u8]> + AsMut<[u8]>> AsAlignedMut<A1> for T[src]

Loading content...