#[non_exhaustive]pub struct LayerWrites {
pub properties: usize,
pub framebuffers: usize,
}Expand description
What emitting one layer put on the wire.
framebuffers is a subset of properties, kept apart because it answers a
different question: FB_ID is written every frame by contract, so it is
the floor a minimal frame is measured against rather than part of what the
diff decided.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.properties: usizeProperties written for this layer.
framebuffers: usizeOf those, FB_ID attachments.
Trait Implementations§
Source§impl Clone for LayerWrites
impl Clone for LayerWrites
impl Copy for LayerWrites
Source§impl Debug for LayerWrites
impl Debug for LayerWrites
Source§impl Default for LayerWrites
impl Default for LayerWrites
impl Eq for LayerWrites
Source§impl PartialEq for LayerWrites
impl PartialEq for LayerWrites
impl StructuralPartialEq for LayerWrites
Auto Trait Implementations§
impl Freeze for LayerWrites
impl RefUnwindSafe for LayerWrites
impl Send for LayerWrites
impl Sync for LayerWrites
impl Unpin for LayerWrites
impl UnsafeUnpin for LayerWrites
impl UnwindSafe for LayerWrites
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