Struct sgx_isa::Attributes
source · #[repr(C)]pub struct Attributes {
pub flags: AttributesFlags,
pub xfrm: u64,
}
Fields
flags: AttributesFlags
xfrm: u64
Implementations
sourceimpl Attributes
impl Attributes
pub fn size() -> usize
sourcepub fn try_copy_from(src: &[u8]) -> Option<Attributes>
pub fn try_copy_from(src: &[u8]) -> Option<Attributes>
If src
has the correct length for this type, returns Some<T>
copied from src
, else returns None
.
Trait Implementations
sourceimpl AsRef<[u8]> for Attributes
impl AsRef<[u8]> for Attributes
sourceimpl Clone for Attributes
impl Clone for Attributes
sourcefn clone(&self) -> Attributes
fn clone(&self) -> Attributes
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 Debug for Attributes
impl Debug for Attributes
sourceimpl Default for Attributes
impl Default for Attributes
sourcefn default() -> Attributes
fn default() -> Attributes
Returns the “default value” for a type. Read more
sourceimpl PartialEq<Attributes> for Attributes
impl PartialEq<Attributes> for Attributes
sourcefn eq(&self, other: &Attributes) -> bool
fn eq(&self, other: &Attributes) -> bool
impl Copy for Attributes
impl Eq for Attributes
impl StructuralEq for Attributes
impl StructuralPartialEq for Attributes
Auto Trait Implementations
impl RefUnwindSafe for Attributes
impl Send for Attributes
impl Sync for Attributes
impl Unpin for Attributes
impl UnwindSafe for Attributes
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