pub struct MetalBackendProfile {
pub skip_fusion: bool,
pub unfuse_regions: bool,
}Fields§
§skip_fusion: bool§unfuse_regions: boolTrait Implementations§
Source§impl Clone for MetalBackendProfile
impl Clone for MetalBackendProfile
Source§fn clone(&self) -> MetalBackendProfile
fn clone(&self) -> MetalBackendProfile
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 MetalBackendProfile
impl Debug for MetalBackendProfile
Source§impl Default for MetalBackendProfile
impl Default for MetalBackendProfile
Source§fn default() -> MetalBackendProfile
fn default() -> MetalBackendProfile
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MetalBackendProfile
impl<'de> Deserialize<'de> for MetalBackendProfile
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for MetalBackendProfile
impl PartialEq for MetalBackendProfile
Source§fn eq(&self, other: &MetalBackendProfile) -> bool
fn eq(&self, other: &MetalBackendProfile) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for MetalBackendProfile
impl Serialize for MetalBackendProfile
impl StructuralPartialEq for MetalBackendProfile
Auto Trait Implementations§
impl Freeze for MetalBackendProfile
impl RefUnwindSafe for MetalBackendProfile
impl Send for MetalBackendProfile
impl Sync for MetalBackendProfile
impl Unpin for MetalBackendProfile
impl UnsafeUnpin for MetalBackendProfile
impl UnwindSafe for MetalBackendProfile
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