pub struct NodeMask { /* private fields */ }
Expand description
A mask that limits what parts of a node a dependency can see.
Implementations§
Source§impl NodeMask
impl NodeMask
Sourcepub fn add_attributes(&mut self, attributes: AttributeMask)
pub fn add_attributes(&mut self, attributes: AttributeMask)
Allow the mask to view the given attributes
Sourcepub fn attributes(&self) -> &AttributeMask
pub fn attributes(&self) -> &AttributeMask
Get the mask for the attributes
Sourcepub fn set_namespace(&mut self)
pub fn set_namespace(&mut self)
Set the mask to view the namespace
Sourcepub fn set_listeners(&mut self)
pub fn set_listeners(&mut self)
Set the mask to view the listeners
Trait Implementations§
impl Eq for NodeMask
impl StructuralPartialEq for NodeMask
Auto Trait Implementations§
impl Freeze for NodeMask
impl RefUnwindSafe for NodeMask
impl Send for NodeMask
impl Sync for NodeMask
impl Unpin for NodeMask
impl UnwindSafe for NodeMask
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