[−][src]Trait gvariant::aligned_bytes::TryAsAligned
Allows widening the alignment by performing fallible runtime checks.
Allows widening the alignment by performing fallible runtime checks.
fn try_as_aligned(&self) -> Result<&AlignedSlice<A>, Misaligned>
impl<A: Alignment> TryAsAligned<A> for [u8]
[src]fn try_as_aligned(&self) -> Result<&AlignedSlice<A>, Misaligned>
[src]impl<A: Alignment, T: AsRef<[u8]>> TryAsAligned<A> for T
[src]fn try_as_aligned(&self) -> Result<&AlignedSlice<A>, Misaligned>
[src]impl<FromA: Alignment, ToA: Alignment> TryAsAligned<ToA> for AlignedSlice<FromA>
[src]fn try_as_aligned(&self) -> Result<&AlignedSlice<ToA>, Misaligned>
[src]