pub struct TargetAlignment {
pub index: u32,
pub alignments: Vec<Alignment>,
}
Fields§
§index: u32
§alignments: Vec<Alignment>
Implementations§
Source§impl TargetAlignment
impl TargetAlignment
pub fn count_alignments(&self) -> usize
Source§impl TargetAlignment
impl TargetAlignment
pub fn deduplicated(self) -> Self
Trait Implementations§
Source§impl Clone for TargetAlignment
impl Clone for TargetAlignment
Source§fn clone(&self) -> TargetAlignment
fn clone(&self) -> TargetAlignment
Returns a duplicate of the value. Read more
1.0.0 · 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 TargetAlignment
impl Debug for TargetAlignment
Source§impl<'de> Deserialize<'de> for TargetAlignment
impl<'de> Deserialize<'de> for TargetAlignment
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
Auto Trait Implementations§
impl Freeze for TargetAlignment
impl RefUnwindSafe for TargetAlignment
impl Send for TargetAlignment
impl Sync for TargetAlignment
impl Unpin for TargetAlignment
impl UnwindSafe for TargetAlignment
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