pub struct DebugHandle { /* private fields */ }
Implementations§
Source§impl DebugHandle
impl DebugHandle
pub fn is_on_current_context(&self) -> bool
pub fn is_on_same_context(&self, other: &DebugHandle) -> bool
pub fn assert_current_context(&self)
Trait Implementations§
Source§impl Clone for DebugHandle
impl Clone for DebugHandle
Source§fn clone(&self) -> DebugHandle
fn clone(&self) -> DebugHandle
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 DebugHandle
impl Debug for DebugHandle
Source§impl From<i32> for DebugHandle
impl From<i32> for DebugHandle
Source§impl HandleConstraints for DebugHandle
impl HandleConstraints for DebugHandle
fn new(handle: RawHandle) -> Self
fn to_be_bytes(&self) -> [u8; 4]
fn get_raw_handle(&self) -> RawHandle
fn get_raw_handle_unchecked(&self) -> RawHandle
fn cast_or_signal_error<E, U>(self) -> Uwhere
E: ErrorApi,
U: TryStaticCast,
Source§impl PartialEq<i32> for DebugHandle
impl PartialEq<i32> for DebugHandle
Source§impl PartialEq for DebugHandle
impl PartialEq for DebugHandle
Source§impl TryStaticCast for DebugHandle
impl TryStaticCast for DebugHandle
fn type_eq<U>() -> boolwhere
U: TryStaticCast,
fn try_cast<U>(self) -> Option<U>where
U: TryStaticCast,
fn try_cast_ref<U>(&self) -> Option<&U>where
U: TryStaticCast,
Auto Trait Implementations§
impl Freeze for DebugHandle
impl !RefUnwindSafe for DebugHandle
impl Send for DebugHandle
impl Sync for DebugHandle
impl Unpin for DebugHandle
impl !UnwindSafe for DebugHandle
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> InterpretableFrom<&T> for Twhere
T: Clone,
impl<T> InterpretableFrom<&T> for Twhere
T: Clone,
fn interpret_from(from: &T, _context: &InterpreterContext) -> T
Source§impl<T> InterpretableFrom<T> for T
impl<T> InterpretableFrom<T> for T
fn interpret_from(from: T, _context: &InterpreterContext) -> T
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more