pub struct RafxDeviceInfo {
pub supports_multithreaded_usage: bool,
pub debug_names_enabled: bool,
pub min_uniform_buffer_offset_alignment: u32,
pub min_storage_buffer_offset_alignment: u32,
pub upload_texture_alignment: u32,
pub upload_texture_row_alignment: u32,
pub supports_clamp_to_border_color: bool,
pub max_vertex_attribute_count: u32,
}Expand description
Information about the device, mostly limits, requirements (like memory alignment), and flags to indicate whether certain features are supported
Fields§
§supports_multithreaded_usage: bool§debug_names_enabled: bool§min_uniform_buffer_offset_alignment: u32§min_storage_buffer_offset_alignment: u32§upload_texture_alignment: u32§upload_texture_row_alignment: u32§supports_clamp_to_border_color: bool§max_vertex_attribute_count: u32Auto Trait Implementations§
impl Freeze for RafxDeviceInfo
impl RefUnwindSafe for RafxDeviceInfo
impl Send for RafxDeviceInfo
impl Sync for RafxDeviceInfo
impl Unpin for RafxDeviceInfo
impl UnwindSafe for RafxDeviceInfo
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> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.