pub struct RunLayout {
pub stride: usize,
pub payload: usize,
pub layers: Vec<RunLayer>,
}Expand description
A run of layers as the packer writes it each frame: the blocks of the
layers showing then ([kind][composite params][guard rect][layer],
stride floats each), after everything else in the params.
Fields§
§stride: usize§payload: usizeFloats in the layer part of a block (a generator’s params, or a texture’s binding), padded to this.
layers: Vec<RunLayer>Trait Implementations§
Auto Trait Implementations§
impl Forget for RunLayout
impl Freeze for RunLayout
impl Move for RunLayout
impl RefUnwindSafe for RunLayout
impl Send for RunLayout
impl Sync for RunLayout
impl Unpin for RunLayout
impl UnsafeUnpin for RunLayout
impl UnwindSafe for RunLayout
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