Struct sgx_isa::Attributes
source · #[repr(C)]pub struct Attributes {
pub flags: AttributesFlags,
pub xfrm: u64,
}
Fields§
§flags: AttributesFlags
§xfrm: u64
Implementations§
source§impl Attributes
impl Attributes
sourcepub fn try_copy_from(src: &[u8]) -> Option<Self>
pub fn try_copy_from(src: &[u8]) -> Option<Self>
If src
has the correct length for this type, returns Some<T>
copied from src
, else returns None
.
source§impl Attributes
impl Attributes
pub const UNPADDED_SIZE: usize = 16usize
Trait Implementations§
source§impl AsRef<[u8]> for Attributes
impl AsRef<[u8]> for Attributes
source§impl Clone for Attributes
impl Clone for Attributes
source§fn clone(&self) -> Attributes
fn clone(&self) -> Attributes
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 Debug for Attributes
impl Debug for Attributes
source§impl Default for Attributes
impl Default for Attributes
source§fn default() -> Attributes
fn default() -> Attributes
Returns the “default value” for a type. Read more
source§impl PartialEq for Attributes
impl PartialEq for Attributes
source§fn eq(&self, other: &Attributes) -> bool
fn eq(&self, other: &Attributes) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for Attributes
impl Eq for Attributes
impl StructuralPartialEq for Attributes
Auto Trait Implementations§
impl Freeze for Attributes
impl RefUnwindSafe for Attributes
impl Send for Attributes
impl Sync for Attributes
impl Unpin for Attributes
impl UnwindSafe for Attributes
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