#[repr(C)]pub struct GateCallInfo { /* private fields */ }
Implementations§
Source§impl GateCallInfo
impl GateCallInfo
Sourcepub fn with_alloca<F, R>(thread_id: ObjID, src_ctx: ObjID, f: F) -> Rwhere
F: FnOnce(&mut Self) -> R,
pub fn with_alloca<F, R>(thread_id: ObjID, src_ctx: ObjID, f: F) -> Rwhere
F: FnOnce(&mut Self) -> R,
Allocate a new GateCallInfo on the stack for the closure.
Sourcepub fn source_context(&self) -> Option<ObjID>
pub fn source_context(&self) -> Option<ObjID>
Get the ID of the source context, or None if the call was not cross-context.
Sourcepub fn canonicalize(self) -> Self
pub fn canonicalize(self) -> Self
Ensures that the data is filled out (may read thread ID from kernel if necessary).
Trait Implementations§
Source§impl Clone for GateCallInfo
impl Clone for GateCallInfo
Source§fn clone(&self) -> GateCallInfo
fn clone(&self) -> GateCallInfo
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 GateCallInfo
impl Debug for GateCallInfo
Source§impl Hash for GateCallInfo
impl Hash for GateCallInfo
Source§impl Ord for GateCallInfo
impl Ord for GateCallInfo
Source§fn cmp(&self, other: &GateCallInfo) -> Ordering
fn cmp(&self, other: &GateCallInfo) -> 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 for GateCallInfo
impl PartialEq for GateCallInfo
Source§impl PartialOrd for GateCallInfo
impl PartialOrd for GateCallInfo
impl Copy for GateCallInfo
impl Eq for GateCallInfo
impl StructuralPartialEq for GateCallInfo
Auto Trait Implementations§
impl Crossing for GateCallInfo
impl Freeze for GateCallInfo
impl ObjSafe for GateCallInfo
impl RefUnwindSafe for GateCallInfo
impl Send for GateCallInfo
impl Sync for GateCallInfo
impl Unpin for GateCallInfo
impl UnwindSafe for GateCallInfo
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