pub struct TypeAlignSpecs(/* private fields */);
Expand description
Represents a sorted collection of TypeAlignSpec
s.
Implementations§
Source§impl TypeAlignSpecs
impl TypeAlignSpecs
Sourcepub fn update(&mut self, spec: TypeAlignSpec)
pub fn update(&mut self, spec: TypeAlignSpec)
Update this list of type alignment specifications by inserting the given specification at the correct location, or rewriting an already present specification.
Trait Implementations§
Source§impl Debug for TypeAlignSpecs
impl Debug for TypeAlignSpecs
Source§impl Default for TypeAlignSpecs
impl Default for TypeAlignSpecs
Source§impl PartialEq for TypeAlignSpecs
impl PartialEq for TypeAlignSpecs
impl StructuralPartialEq for TypeAlignSpecs
Auto Trait Implementations§
impl Freeze for TypeAlignSpecs
impl RefUnwindSafe for TypeAlignSpecs
impl Send for TypeAlignSpecs
impl Sync for TypeAlignSpecs
impl Unpin for TypeAlignSpecs
impl UnwindSafe for TypeAlignSpecs
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