pub enum ManagedAttach {
Global,
Host,
Single,
}Expand description
Attach-mode for ManagedBuffer::new_with_flags.
Variants§
Global
Accessible from any stream on any device. Default.
Host
Pinned to the host — accessible from the host, not from the GPU.
Single
Accessible only on the stream it was later attached to.
Trait Implementations§
Source§impl Clone for ManagedAttach
impl Clone for ManagedAttach
Source§fn clone(&self) -> ManagedAttach
fn clone(&self) -> ManagedAttach
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ManagedAttach
impl Debug for ManagedAttach
Source§impl Default for ManagedAttach
impl Default for ManagedAttach
Source§fn default() -> ManagedAttach
fn default() -> ManagedAttach
Returns the “default value” for a type. Read more
Source§impl PartialEq for ManagedAttach
impl PartialEq for ManagedAttach
Source§fn eq(&self, other: &ManagedAttach) -> bool
fn eq(&self, other: &ManagedAttach) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ManagedAttach
impl Eq for ManagedAttach
impl StructuralPartialEq for ManagedAttach
Auto Trait Implementations§
impl Freeze for ManagedAttach
impl RefUnwindSafe for ManagedAttach
impl Send for ManagedAttach
impl Sync for ManagedAttach
impl Unpin for ManagedAttach
impl UnsafeUnpin for ManagedAttach
impl UnwindSafe for ManagedAttach
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