Struct win_sys::Memory::HeapHandle
source · [−]#[repr(transparent)]pub struct HeapHandle(pub isize);Tuple Fields
0: isizeImplementations
sourceimpl HeapHandle
impl HeapHandle
pub fn is_invalid(&self) -> bool
pub fn ok(self) -> Result<HeapHandle, Error>
Trait Implementations
sourceimpl Clone for HeapHandle
impl Clone for HeapHandle
sourcepub fn clone(&self) -> HeapHandle
pub fn clone(&self) -> HeapHandle
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 more
sourceimpl Debug for HeapHandle
impl Debug for HeapHandle
sourceimpl Default for HeapHandle
impl Default for HeapHandle
sourcepub fn default() -> HeapHandle
pub fn default() -> HeapHandle
Returns the “default value” for a type. Read more
sourceimpl PartialEq<HeapHandle> for HeapHandle
impl PartialEq<HeapHandle> for HeapHandle
sourcepub fn eq(&self, other: &HeapHandle) -> bool
pub fn eq(&self, other: &HeapHandle) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcepub fn ne(&self, other: &HeapHandle) -> bool
pub fn ne(&self, other: &HeapHandle) -> bool
This method tests for !=.
impl Copy for HeapHandle
impl Eq for HeapHandle
impl StructuralEq for HeapHandle
impl StructuralPartialEq for HeapHandle
Auto Trait Implementations
impl RefUnwindSafe for HeapHandle
impl Send for HeapHandle
impl Sync for HeapHandle
impl Unpin for HeapHandle
impl UnwindSafe for HeapHandle
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more