pub struct ScopedWriter {
pub writer: MaskWriter,
pub open: i32,
pub close: i32,
}Expand description
A writer placed on its player’s tree sequence: the whole instance tree numbered in drawing order, each sub-animation in its instance part’s place.
It holds its bit for the parts strictly between open and close. A clipping
writer opens at itself and closes at the end of the tree, so one written
inside an instance keeps clipping whatever its callers draw after it; a pure
mask opens where its own animation starts and closes at itself, so it never
reaches past the instance that holds it.
Fields§
§writer: MaskWriterop_invert is already the effective one — the writer’s own
mask_influence AND its instance part’s.
open: i32§close: i32Trait Implementations§
Source§impl Clone for ScopedWriter
impl Clone for ScopedWriter
impl Copy for ScopedWriter
Auto Trait Implementations§
impl Freeze for ScopedWriter
impl RefUnwindSafe for ScopedWriter
impl Send for ScopedWriter
impl Sync for ScopedWriter
impl Unpin for ScopedWriter
impl UnsafeUnpin for ScopedWriter
impl UnwindSafe for ScopedWriter
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