pub struct MetalCommandConfig {
pub max_command_buffers_per_queue: usize,
pub enable_command_buffer_reuse: bool,
pub enable_parallel_encoding: bool,
}Expand description
Command manager configuration
Fields§
§max_command_buffers_per_queue: usize§enable_command_buffer_reuse: bool§enable_parallel_encoding: boolTrait Implementations§
Source§impl Clone for MetalCommandConfig
impl Clone for MetalCommandConfig
Source§fn clone(&self) -> MetalCommandConfig
fn clone(&self) -> MetalCommandConfig
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 MetalCommandConfig
impl Debug for MetalCommandConfig
Auto Trait Implementations§
impl Freeze for MetalCommandConfig
impl RefUnwindSafe for MetalCommandConfig
impl Send for MetalCommandConfig
impl Sync for MetalCommandConfig
impl Unpin for MetalCommandConfig
impl UnsafeUnpin for MetalCommandConfig
impl UnwindSafe for MetalCommandConfig
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more