Struct freya_native_core::node_ref::NodeMaskBuilder
source · pub struct NodeMaskBuilder<'a> { /* private fields */ }
Expand description
A mask that limits what parts of a node a dependency can see.
Implementations§
source§impl<'a> NodeMaskBuilder<'a>
impl<'a> NodeMaskBuilder<'a>
sourcepub const fn with_attrs(self, attritutes: AttributeMaskBuilder<'a>) -> Self
pub const fn with_attrs(self, attritutes: AttributeMaskBuilder<'a>) -> Self
Allow the mask to view the given attributes
sourcepub const fn with_listeners(self) -> Self
pub const fn with_listeners(self) -> Self
Allow the mask to view the listeners
Trait Implementations§
source§impl<'a> Clone for NodeMaskBuilder<'a>
impl<'a> Clone for NodeMaskBuilder<'a>
source§fn clone(&self) -> NodeMaskBuilder<'a>
fn clone(&self) -> NodeMaskBuilder<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a> Debug for NodeMaskBuilder<'a>
impl<'a> Debug for NodeMaskBuilder<'a>
source§impl<'a> Default for NodeMaskBuilder<'a>
impl<'a> Default for NodeMaskBuilder<'a>
source§fn default() -> NodeMaskBuilder<'a>
fn default() -> NodeMaskBuilder<'a>
Returns the “default value” for a type. Read more
source§impl<'a> PartialEq for NodeMaskBuilder<'a>
impl<'a> PartialEq for NodeMaskBuilder<'a>
impl<'a> Eq for NodeMaskBuilder<'a>
impl<'a> StructuralPartialEq for NodeMaskBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for NodeMaskBuilder<'a>
impl<'a> RefUnwindSafe for NodeMaskBuilder<'a>
impl<'a> Send for NodeMaskBuilder<'a>
impl<'a> Sync for NodeMaskBuilder<'a>
impl<'a> Unpin for NodeMaskBuilder<'a>
impl<'a> UnwindSafe for NodeMaskBuilder<'a>
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,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T, O> SuperFrom<T> for Owhere
O: From<T>,
impl<T, O> SuperFrom<T> for Owhere
O: From<T>,
§fn super_from(input: T) -> O
fn super_from(input: T) -> O
Convert from a type to another type.
§impl<T, O, M> SuperInto<O, M> for Twhere
O: SuperFrom<T, M>,
impl<T, O, M> SuperInto<O, M> for Twhere
O: SuperFrom<T, M>,
§fn super_into(self) -> O
fn super_into(self) -> O
Convert from a type to another type.