#[repr(transparent)]pub struct ChromaLocation(pub i32);Expand description
Open integer representation of VkChromaLocation.
Tuple Fields§
§0: i32Implementations§
Source§impl ChromaLocation
impl ChromaLocation
Sourcepub const COSITED_EVEN: Self
pub const COSITED_EVEN: Self
Native value VK_CHROMA_LOCATION_COSITED_EVEN.
Sourcepub const COSITED_EVEN_KHR: Self
pub const COSITED_EVEN_KHR: Self
Native value VK_CHROMA_LOCATION_COSITED_EVEN_KHR.
Sourcepub const MIDPOINT_KHR: Self
pub const MIDPOINT_KHR: Self
Native value VK_CHROMA_LOCATION_MIDPOINT_KHR.
pub const fn from_raw(value: i32) -> Self
pub const fn as_raw(self) -> i32
pub const fn empty() -> Self
Trait Implementations§
Source§impl Clone for ChromaLocation
impl Clone for ChromaLocation
impl Copy for ChromaLocation
Source§impl Debug for ChromaLocation
impl Debug for ChromaLocation
Source§impl Default for ChromaLocation
impl Default for ChromaLocation
impl Eq for ChromaLocation
Source§impl Hash for ChromaLocation
impl Hash for ChromaLocation
Source§impl PartialEq for ChromaLocation
impl PartialEq for ChromaLocation
impl StructuralPartialEq for ChromaLocation
Auto Trait Implementations§
impl Forget for ChromaLocation
impl Freeze for ChromaLocation
impl Move for ChromaLocation
impl RefUnwindSafe for ChromaLocation
impl Send for ChromaLocation
impl Sync for ChromaLocation
impl Unpin for ChromaLocation
impl UnsafeUnpin for ChromaLocation
impl UnwindSafe for ChromaLocation
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