#[repr(transparent)]pub struct FunctionOptions(pub UInteger);Expand description
Function options (bitflags).
C++ equivalent: MTL::FunctionOptions
Tuple Fields§
§0: UIntegerImplementations§
Source§impl FunctionOptions
impl FunctionOptions
pub const NONE: Self
pub const COMPILE_TO_BINARY: Self
Sourcepub const STORE_FUNCTION_IN_METAL_PIPELINES_SCRIPT: Self
pub const STORE_FUNCTION_IN_METAL_PIPELINES_SCRIPT: Self
Alias for STORE_FUNCTION_IN_METAL_SCRIPT
pub const STORE_FUNCTION_IN_METAL_SCRIPT: Self
pub const FAIL_ON_BINARY_ARCHIVE_MISS: Self
pub const PIPELINE_INDEPENDENT: Self
Trait Implementations§
Source§impl BitAnd for FunctionOptions
impl BitAnd for FunctionOptions
Source§impl BitOr for FunctionOptions
impl BitOr for FunctionOptions
Source§impl BitOrAssign for FunctionOptions
impl BitOrAssign for FunctionOptions
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreSource§impl Clone for FunctionOptions
impl Clone for FunctionOptions
Source§fn clone(&self) -> FunctionOptions
fn clone(&self) -> FunctionOptions
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 FunctionOptions
impl Debug for FunctionOptions
Source§impl Default for FunctionOptions
impl Default for FunctionOptions
Source§fn default() -> FunctionOptions
fn default() -> FunctionOptions
Returns the “default value” for a type. Read more
Source§impl Hash for FunctionOptions
impl Hash for FunctionOptions
Source§impl PartialEq for FunctionOptions
impl PartialEq for FunctionOptions
impl Copy for FunctionOptions
impl Eq for FunctionOptions
impl StructuralPartialEq for FunctionOptions
Auto Trait Implementations§
impl Freeze for FunctionOptions
impl RefUnwindSafe for FunctionOptions
impl Send for FunctionOptions
impl Sync for FunctionOptions
impl Unpin for FunctionOptions
impl UnwindSafe for FunctionOptions
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