pub struct ContainerAttributes {
pub packed: bool,
pub aligned: u64,
pub comment: Option<String>,
}Fields§
§packed: bool§aligned: u64§comment: Option<String>Trait Implementations§
Source§impl Clone for ContainerAttributes
impl Clone for ContainerAttributes
Source§fn clone(&self) -> ContainerAttributes
fn clone(&self) -> ContainerAttributes
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ContainerAttributes
impl Debug for ContainerAttributes
Source§impl Default for ContainerAttributes
impl Default for ContainerAttributes
Source§impl<'de> Deserialize<'de> for ContainerAttributes
impl<'de> Deserialize<'de> for ContainerAttributes
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ContainerAttributes
Source§impl PartialEq for ContainerAttributes
impl PartialEq for ContainerAttributes
Source§fn eq(&self, other: &ContainerAttributes) -> bool
fn eq(&self, other: &ContainerAttributes) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ContainerAttributes
impl Serialize for ContainerAttributes
impl StructuralPartialEq for ContainerAttributes
Auto Trait Implementations§
impl Freeze for ContainerAttributes
impl RefUnwindSafe for ContainerAttributes
impl Send for ContainerAttributes
impl Sync for ContainerAttributes
impl Unpin for ContainerAttributes
impl UnsafeUnpin for ContainerAttributes
impl UnwindSafe for ContainerAttributes
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.