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§
source§impl 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§
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