Struct shadow_rs::host::descriptor::descriptor_table::DescriptorHandle
source · pub struct DescriptorHandle(/* private fields */);
Expand description
A handle for a file descriptor.
Implementations§
Trait Implementations§
source§impl Clone for DescriptorHandle
impl Clone for DescriptorHandle
source§fn clone(&self) -> DescriptorHandle
fn clone(&self) -> DescriptorHandle
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 DescriptorHandle
impl Debug for DescriptorHandle
source§impl Display for DescriptorHandle
impl Display for DescriptorHandle
source§impl From<DescriptorHandle> for SyscallReg
impl From<DescriptorHandle> for SyscallReg
source§fn from(x: DescriptorHandle) -> SyscallReg
fn from(x: DescriptorHandle) -> SyscallReg
Converts to this type from the input type.
source§impl From<DescriptorHandle> for i32
impl From<DescriptorHandle> for i32
source§fn from(x: DescriptorHandle) -> i32
fn from(x: DescriptorHandle) -> i32
Converts to this type from the input type.
source§impl From<DescriptorHandle> for i64
impl From<DescriptorHandle> for i64
source§fn from(x: DescriptorHandle) -> i64
fn from(x: DescriptorHandle) -> i64
Converts to this type from the input type.
source§impl From<DescriptorHandle> for u32
impl From<DescriptorHandle> for u32
source§fn from(x: DescriptorHandle) -> u32
fn from(x: DescriptorHandle) -> u32
Converts to this type from the input type.
source§impl From<DescriptorHandle> for u64
impl From<DescriptorHandle> for u64
source§fn from(x: DescriptorHandle) -> u64
fn from(x: DescriptorHandle) -> u64
Converts to this type from the input type.
source§impl Hash for DescriptorHandle
impl Hash for DescriptorHandle
source§impl Ord for DescriptorHandle
impl Ord for DescriptorHandle
source§fn cmp(&self, other: &DescriptorHandle) -> Ordering
fn cmp(&self, other: &DescriptorHandle) -> 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 DescriptorHandle
impl PartialEq for DescriptorHandle
source§impl PartialOrd for DescriptorHandle
impl PartialOrd for DescriptorHandle
source§impl TryFrom<i32> for DescriptorHandle
impl TryFrom<i32> for DescriptorHandle
source§impl TryFrom<i64> for DescriptorHandle
impl TryFrom<i64> for DescriptorHandle
source§impl TryFrom<u32> for DescriptorHandle
impl TryFrom<u32> for DescriptorHandle
source§impl TryFrom<u64> for DescriptorHandle
impl TryFrom<u64> for DescriptorHandle
impl Copy for DescriptorHandle
impl Eq for DescriptorHandle
impl StructuralPartialEq for DescriptorHandle
Auto Trait Implementations§
impl Freeze for DescriptorHandle
impl RefUnwindSafe for DescriptorHandle
impl Send for DescriptorHandle
impl Sync for DescriptorHandle
impl Unpin for DescriptorHandle
impl UnwindSafe for DescriptorHandle
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.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