#[repr(u32)]pub enum DepthFormat {
Depth = 41,
DepthStencil = 42,
}Expand description
Enum compatible with PixelFormat in rokol::gfx
Variants§
Implementations§
Source§impl DepthFormat
impl DepthFormat
pub fn to_ffi(self) -> sg_pixel_format
Trait Implementations§
Source§impl Clone for DepthFormat
impl Clone for DepthFormat
Source§fn clone(&self) -> DepthFormat
fn clone(&self) -> DepthFormat
Returns a copy 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 DepthFormat
impl Debug for DepthFormat
impl Copy for DepthFormat
Auto Trait Implementations§
impl Freeze for DepthFormat
impl RefUnwindSafe for DepthFormat
impl Send for DepthFormat
impl Sync for DepthFormat
impl Unpin for DepthFormat
impl UnwindSafe for DepthFormat
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