Struct secp256k1_sys::types::AlignedType
source · #[repr(align(16))]pub struct AlignedType(/* private fields */);
Expand description
A type that is as aligned as the biggest alignment for fundamental types in C
since C11 that means as aligned as max_align_t
is.
the exact size/alignment is unspecified.
Implementations§
source§impl AlignedType
impl AlignedType
sourcepub const ZERO: AlignedType = _
pub const ZERO: AlignedType = _
A static zeroed out AlignedType for use in static assignments of [AlignedType; _]
pub fn zeroed() -> Self
Trait Implementations§
source§impl Clone for AlignedType
impl Clone for AlignedType
source§fn clone(&self) -> AlignedType
fn clone(&self) -> AlignedType
Returns a copy 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 Default for AlignedType
impl Default for AlignedType
source§fn default() -> AlignedType
fn default() -> AlignedType
Returns the “default value” for a type. Read more
impl Copy for AlignedType
Auto Trait Implementations§
impl Freeze for AlignedType
impl RefUnwindSafe for AlignedType
impl Send for AlignedType
impl Sync for AlignedType
impl Unpin for AlignedType
impl UnwindSafe for AlignedType
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,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)