Struct sgx_types::types::Ec256PublicKey
source · [−]#[repr(C)]pub struct Ec256PublicKey {
pub gx: [u8; 32],
pub gy: [u8; 32],
}
Fields
gx: [u8; 32]
gy: [u8; 32]
Trait Implementations
sourceimpl AsMut<[u8; 64]> for Ec256PublicKey
impl AsMut<[u8; 64]> for Ec256PublicKey
sourceimpl AsRef<[u8; 64]> for Ec256PublicKey
impl AsRef<[u8; 64]> for Ec256PublicKey
sourceimpl Clone for Ec256PublicKey
impl Clone for Ec256PublicKey
sourcefn clone(&self) -> Ec256PublicKey
fn clone(&self) -> Ec256PublicKey
Returns a copy of the value. Read more
1.0.0const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for Ec256PublicKey
impl Debug for Ec256PublicKey
sourceimpl Default for Ec256PublicKey
impl Default for Ec256PublicKey
sourcefn default() -> Ec256PublicKey
fn default() -> Ec256PublicKey
Returns the “default value” for a type. Read more
sourceimpl From<&[u8; 64]> for Ec256PublicKey
impl From<&[u8; 64]> for Ec256PublicKey
sourcefn from(array: &[u8; 64]) -> Ec256PublicKey
fn from(array: &[u8; 64]) -> Ec256PublicKey
Converts to this type from the input type.
sourceimpl From<[u8; 64]> for Ec256PublicKey
impl From<[u8; 64]> for Ec256PublicKey
sourcefn from(array: [u8; 64]) -> Ec256PublicKey
fn from(array: [u8; 64]) -> Ec256PublicKey
Converts to this type from the input type.
sourceimpl PartialEq<Ec256PublicKey> for Ec256PublicKey
impl PartialEq<Ec256PublicKey> for Ec256PublicKey
sourcefn eq(&self, other: &Ec256PublicKey) -> bool
fn eq(&self, other: &Ec256PublicKey) -> bool
sourceimpl TryFrom<&[u8]> for Ec256PublicKey
impl TryFrom<&[u8]> for Ec256PublicKey
type Error = TryFromSliceError
type Error = TryFromSliceError
The type returned in the event of a conversion error.
sourcefn try_from(slice: &[u8]) -> Result<Ec256PublicKey, Self::Error>
fn try_from(slice: &[u8]) -> Result<Ec256PublicKey, Self::Error>
Performs the conversion.
impl BytewiseEquality for Ec256PublicKey
impl ContiguousMemory for Ec256PublicKey
impl Copy for Ec256PublicKey
impl Eq for Ec256PublicKey
impl StructuralEq for Ec256PublicKey
impl StructuralPartialEq for Ec256PublicKey
Auto Trait Implementations
impl RefUnwindSafe for Ec256PublicKey
impl Send for Ec256PublicKey
impl Sync for Ec256PublicKey
impl Unpin for Ec256PublicKey
impl UnwindSafe for Ec256PublicKey
Blanket Implementations
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more