#[repr(transparent)]pub struct MPSGraphOptions(pub u64);
Available on crate feature
MPSGraph
only.Expand description
The options available to a graph.
See also Apple’s documentation
Tuple Fields§
§0: u64
Implementations§
Source§impl MPSGraphOptions
impl MPSGraphOptions
Sourcepub const SynchronizeResults: Self
pub const SynchronizeResults: Self
The graph synchronizes results to the CPU using a blit encoder if on a discrete GPU at the end of execution.
Trait Implementations§
Source§impl Clone for MPSGraphOptions
impl Clone for MPSGraphOptions
Source§fn clone(&self) -> MPSGraphOptions
fn clone(&self) -> MPSGraphOptions
Returns a duplicate 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 MPSGraphOptions
impl Debug for MPSGraphOptions
Source§impl Encode for MPSGraphOptions
impl Encode for MPSGraphOptions
Source§impl Hash for MPSGraphOptions
impl Hash for MPSGraphOptions
Source§impl Ord for MPSGraphOptions
impl Ord for MPSGraphOptions
Source§fn cmp(&self, other: &MPSGraphOptions) -> Ordering
fn cmp(&self, other: &MPSGraphOptions) -> 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 MPSGraphOptions
impl PartialEq for MPSGraphOptions
Source§impl PartialOrd for MPSGraphOptions
impl PartialOrd for MPSGraphOptions
Source§impl RefEncode for MPSGraphOptions
impl RefEncode for MPSGraphOptions
Source§const ENCODING_REF: Encoding
const ENCODING_REF: Encoding
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for MPSGraphOptions
impl Eq for MPSGraphOptions
impl StructuralPartialEq for MPSGraphOptions
Auto Trait Implementations§
impl Freeze for MPSGraphOptions
impl RefUnwindSafe for MPSGraphOptions
impl Send for MPSGraphOptions
impl Sync for MPSGraphOptions
impl Unpin for MPSGraphOptions
impl UnwindSafe for MPSGraphOptions
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> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
Source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
Source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
Source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.