[−][src]Struct witx::UnionLayout
Fields
tag_size: usize
tag_align: usize
contents_offset: usize
contents_size: usize
contents_align: usize
Trait Implementations
impl Clone for UnionLayout
[src]
fn clone(&self) -> UnionLayout
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for UnionLayout
[src]
impl Debug for UnionLayout
[src]
impl Eq for UnionLayout
[src]
impl Layout for UnionLayout
[src]
fn mem_size_align(&self) -> SizeAlign
[src]
fn mem_size(&self) -> usize
[src]
fn mem_align(&self) -> usize
[src]
impl PartialEq<UnionLayout> for UnionLayout
[src]
fn eq(&self, other: &UnionLayout) -> bool
[src]
fn ne(&self, other: &UnionLayout) -> bool
[src]
impl StructuralEq for UnionLayout
[src]
impl StructuralPartialEq for UnionLayout
[src]
Auto Trait Implementations
impl RefUnwindSafe for UnionLayout
impl Send for UnionLayout
impl Sync for UnionLayout
impl Unpin for UnionLayout
impl UnwindSafe for UnionLayout
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,