Skip to main content

DirtyInterfaceSet

Trait DirtyInterfaceSet 

Source
pub trait DirtyInterfaceSet {
    // Required methods
    fn mark(&mut self, interface: InterfaceId);
    fn drain(&mut self, visit: impl FnMut(InterfaceId));
}

Required Methods§

Source

fn mark(&mut self, interface: InterfaceId)

Source

fn drain(&mut self, visit: impl FnMut(InterfaceId))

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl DirtyInterfaceSet for BTreeSet<InterfaceId>

Available on crate feature alloc only.
Source§

fn mark(&mut self, interface: InterfaceId)

Source§

fn drain(&mut self, visit: impl FnMut(InterfaceId))

Source§

impl<const N: usize> DirtyInterfaceSet for Vec<InterfaceId, N>

Source§

fn mark(&mut self, interface: InterfaceId)

Source§

fn drain(&mut self, visit: impl FnMut(InterfaceId))

Implementors§