pub struct VnIsolation {
pub geometry: Arc<VnClipGeometry>,
pub color_matrix: Option<VnColorMatrix>,
pub text_paint: Option<Arc<VnTextPaint>>,
pub content_mask: ContentMask<ScaledPixels>,
pub capture: Option<VnCaptureInfo>,
}Expand description
vue-native fork: an isolated layer as it is opened: the clip it composites through, in window device pixels, and the content mask around it.
Fields§
§geometry: Arc<VnClipGeometry>The clip shape.
color_matrix: Option<VnColorMatrix>A transform over the isolated source pixels before composition.
text_paint: Option<Arc<VnTextPaint>>A text-only alpha source, filled by this background stack.
content_mask: ContentMask<ScaledPixels>The content mask in force where the layer was opened; it cuts the composite as it cuts any primitive.
capture: Option<VnCaptureInfo>A captured group: it composites nowhere, the renderer keeps it as a
snapshot (Scene::vn_captures).
Trait Implementations§
Source§impl Clone for VnIsolation
impl Clone for VnIsolation
Auto Trait Implementations§
impl Forget for VnIsolation
impl Freeze for VnIsolation
impl Move for VnIsolation
impl RefUnwindSafe for VnIsolation
impl Send for VnIsolation
impl Sync for VnIsolation
impl Unpin for VnIsolation
impl UnsafeUnpin for VnIsolation
impl UnwindSafe for VnIsolation
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more