#[repr(transparent)]pub struct Framebuffer(pub NonZeroU64);Expand description
VkFramebuffer : VkDevice
Tuple Fields§
§0: NonZeroU64Implementations§
Source§impl Framebuffer
impl Framebuffer
Sourcepub fn new(raw: u64) -> Option<Self>
pub fn new(raw: u64) -> Option<Self>
Creates a new Framebuffer from a raw handle value. Returns None if the value is zero.
Sourcepub unsafe fn new_unchecked(raw: u64) -> Self
pub unsafe fn new_unchecked(raw: u64) -> Self
Creates a new Framebuffer from a raw handle value without checking if it’s zero. The caller must ensure that the value is not zero.
Trait Implementations§
Source§impl<'a> Abi<&'a Option<Framebuffer>> for &'a Framebuffer
impl<'a> Abi<&'a Option<Framebuffer>> for &'a Framebuffer
fn abi(self) -> &'a Option<Framebuffer>
Source§impl<'a> Abi<*const Option<Framebuffer>> for &'a Framebuffer
impl<'a> Abi<*const Option<Framebuffer>> for &'a Framebuffer
Source§impl<'a> Abi<*const VkFramebuffer> for &'a Framebuffer
impl<'a> Abi<*const VkFramebuffer> for &'a Framebuffer
fn abi(self) -> *const VkFramebuffer
Source§impl Abi<Option<Framebuffer>> for Framebuffer
impl Abi<Option<Framebuffer>> for Framebuffer
fn abi(self) -> Option<Framebuffer>
Source§impl Abi<VkFramebuffer> for Framebuffer
impl Abi<VkFramebuffer> for Framebuffer
fn abi(self) -> VkFramebuffer
Source§impl Clone for Framebuffer
impl Clone for Framebuffer
Source§fn clone(&self) -> Framebuffer
fn clone(&self) -> Framebuffer
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 Framebuffer
impl Debug for Framebuffer
Source§impl From<Framebuffer> for VkFramebuffer
impl From<Framebuffer> for VkFramebuffer
Source§fn from(value: Framebuffer) -> Self
fn from(value: Framebuffer) -> Self
Converts to this type from the input type.
Source§impl Hash for Framebuffer
impl Hash for Framebuffer
Source§impl<Ctx> MakeHnd<Ctx, core> for Framebuffer
impl<Ctx> MakeHnd<Ctx, core> for Framebuffer
Source§impl ObjectType for Framebuffer
impl ObjectType for Framebuffer
const TYPE: ObjectType
Source§impl Ord for Framebuffer
impl Ord for Framebuffer
Source§fn cmp(&self, other: &Framebuffer) -> Ordering
fn cmp(&self, other: &Framebuffer) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Framebuffer
impl PartialEq for Framebuffer
Source§impl PartialOrd for Framebuffer
impl PartialOrd for Framebuffer
Source§impl Pointer for Framebuffer
impl Pointer for Framebuffer
Source§impl RawSubHandle for Framebuffer
impl RawSubHandle for Framebuffer
Source§impl<'a> Sys<'a> for Framebuffer
impl<'a> Sys<'a> for Framebuffer
impl Copy for Framebuffer
impl Eq for Framebuffer
impl RawHandle for Framebuffer
impl Send for Framebuffer
impl StructuralPartialEq for Framebuffer
impl Sync for Framebuffer
Auto Trait Implementations§
impl Freeze for Framebuffer
impl RefUnwindSafe for Framebuffer
impl Unpin for Framebuffer
impl UnsafeUnpin for Framebuffer
impl UnwindSafe for Framebuffer
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