#[repr(u32)]pub enum Virgl3dResourceType {
Texture2D = 1,
Texture3D = 2,
TextureCube = 3,
Buffer = 4,
Renderbuffer = 5,
TextureArray = 6,
}Expand description
Virgl 3D resource types
Variants§
Texture2D = 1
Standard 2D texture
Texture3D = 2
3D volume texture
TextureCube = 3
Cube map texture
Buffer = 4
Vertex/index buffer
Renderbuffer = 5
Renderbuffer (off-screen target)
TextureArray = 6
Texture array
Trait Implementations§
Source§impl Clone for Virgl3dResourceType
impl Clone for Virgl3dResourceType
Source§fn clone(&self) -> Virgl3dResourceType
fn clone(&self) -> Virgl3dResourceType
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Virgl3dResourceType
impl Debug for Virgl3dResourceType
Source§impl PartialEq for Virgl3dResourceType
impl PartialEq for Virgl3dResourceType
impl Copy for Virgl3dResourceType
impl Eq for Virgl3dResourceType
impl StructuralPartialEq for Virgl3dResourceType
Auto Trait Implementations§
impl Freeze for Virgl3dResourceType
impl RefUnwindSafe for Virgl3dResourceType
impl Send for Virgl3dResourceType
impl Sync for Virgl3dResourceType
impl Unpin for Virgl3dResourceType
impl UnwindSafe for Virgl3dResourceType
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)