pub struct FramebufferExtent { /* private fields */ }Expand description
Physical dimensions of the WGPU render target receiving Dear ImGui commands.
WGPU render passes do not expose attachment dimensions. Applications must therefore pass the extent of the texture view used to create the render pass instead of asking the renderer to infer it from Dear ImGui’s logical display metrics.
Implementations§
Source§impl FramebufferExtent
impl FramebufferExtent
Trait Implementations§
Source§impl Clone for FramebufferExtent
impl Clone for FramebufferExtent
Source§fn clone(&self) -> FramebufferExtent
fn clone(&self) -> FramebufferExtent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FramebufferExtent
Source§impl Debug for FramebufferExtent
impl Debug for FramebufferExtent
impl Eq for FramebufferExtent
Source§impl PartialEq for FramebufferExtent
impl PartialEq for FramebufferExtent
impl StructuralPartialEq for FramebufferExtent
Auto Trait Implementations§
impl Freeze for FramebufferExtent
impl RefUnwindSafe for FramebufferExtent
impl Send for FramebufferExtent
impl Sync for FramebufferExtent
impl Unpin for FramebufferExtent
impl UnsafeUnpin for FramebufferExtent
impl UnwindSafe for FramebufferExtent
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.