Struct secp256k1_sys::types::AlignedType
source · [−]#[repr(align(16))]pub struct AlignedType(_);
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
sourceimpl AlignedType
impl AlignedType
pub fn zeroed() -> Self
sourcepub const ZERO: AlignedType = _
pub const ZERO: AlignedType = _
A static zeroed out AlignedType for use in static assignments of [AlignedType; _]
Trait Implementations
sourceimpl Clone for AlignedType
impl Clone for AlignedType
sourcefn clone(&self) -> AlignedType
fn clone(&self) -> AlignedType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Default for AlignedType
impl Default for AlignedType
sourcefn default() -> AlignedType
fn default() -> AlignedType
Returns the “default value” for a type. Read more
impl Copy for AlignedType
Auto Trait Implementations
impl RefUnwindSafe for AlignedType
impl Send for AlignedType
impl Sync for AlignedType
impl Unpin for AlignedType
impl UnwindSafe for AlignedType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more