Struct twizzler_abi::upcall::UpcallOptions
source · pub struct UpcallOptions {
pub flags: UpcallFlags,
pub mode: UpcallMode,
}
Expand description
Options for a single upcall.
Fields§
§flags: UpcallFlags
Flags for the upcall.
mode: UpcallMode
The mode for the upcall.
Trait Implementations§
source§impl Clone for UpcallOptions
impl Clone for UpcallOptions
source§fn clone(&self) -> UpcallOptions
fn clone(&self) -> UpcallOptions
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 UpcallOptions
impl Debug for UpcallOptions
source§impl Ord for UpcallOptions
impl Ord for UpcallOptions
source§fn cmp(&self, other: &UpcallOptions) -> Ordering
fn cmp(&self, other: &UpcallOptions) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<UpcallOptions> for UpcallOptions
impl PartialEq<UpcallOptions> for UpcallOptions
source§fn eq(&self, other: &UpcallOptions) -> bool
fn eq(&self, other: &UpcallOptions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<UpcallOptions> for UpcallOptions
impl PartialOrd<UpcallOptions> for UpcallOptions
source§fn partial_cmp(&self, other: &UpcallOptions) -> Option<Ordering>
fn partial_cmp(&self, other: &UpcallOptions) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for UpcallOptions
impl Eq for UpcallOptions
impl StructuralEq for UpcallOptions
impl StructuralPartialEq for UpcallOptions
Auto Trait Implementations§
impl ObjSafe for UpcallOptions
impl RefUnwindSafe for UpcallOptions
impl Send for UpcallOptions
impl Sync for UpcallOptions
impl Unpin for UpcallOptions
impl UnwindSafe for UpcallOptions
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.