pub struct AlignmentPolicy {
pub mode: AlignmentMode,
}Fields§
§mode: AlignmentModeTrait Implementations§
Source§impl Clone for AlignmentPolicy
impl Clone for AlignmentPolicy
Source§fn clone(&self) -> AlignmentPolicy
fn clone(&self) -> AlignmentPolicy
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 AlignmentPolicy
impl Debug for AlignmentPolicy
Source§impl Default for AlignmentPolicy
impl Default for AlignmentPolicy
Source§impl<'de> Deserialize<'de> for AlignmentPolicy
impl<'de> Deserialize<'de> for AlignmentPolicy
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 AlignmentPolicy
Source§impl PartialEq for AlignmentPolicy
impl PartialEq for AlignmentPolicy
Source§fn eq(&self, other: &AlignmentPolicy) -> bool
fn eq(&self, other: &AlignmentPolicy) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AlignmentPolicy
impl Serialize for AlignmentPolicy
impl StructuralPartialEq for AlignmentPolicy
Auto Trait Implementations§
impl Freeze for AlignmentPolicy
impl RefUnwindSafe for AlignmentPolicy
impl Send for AlignmentPolicy
impl Sync for AlignmentPolicy
impl Unpin for AlignmentPolicy
impl UnsafeUnpin for AlignmentPolicy
impl UnwindSafe for AlignmentPolicy
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