pub struct ViewMask(/* private fields */);Expand description
The views an instance is drawn in — see
ForwardRenderer::set_instance_views.
A set of ViewIds, one bit each. ViewMask::ALL is what every instance
starts with, so a caller that never names a view draws everything in every
view.
Implementations§
Trait Implementations§
impl Copy for ViewMask
impl Eq for ViewMask
impl StructuralPartialEq for ViewMask
Auto Trait Implementations§
impl Forget for ViewMask
impl Freeze for ViewMask
impl RefUnwindSafe for ViewMask
impl Send for ViewMask
impl Sync for ViewMask
impl Unpin for ViewMask
impl UnsafeUnpin for ViewMask
impl UnwindSafe for ViewMask
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