pub struct AlignmentPolicy {
pub mode: AlignmentMode,
}Fields§
§mode: AlignmentModeTrait Implementations§
Source§impl Clone for AlignmentPolicy
impl Clone for AlignmentPolicy
Source§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§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