pub struct NullIdGenerator {}Expand description
A provider of NodeIds that are always 0; Useful for testing
Trait Implementations§
Source§impl Default for NullIdGenerator
impl Default for NullIdGenerator
Source§fn default() -> NullIdGenerator
fn default() -> NullIdGenerator
Returns the “default value” for a type. Read more
Source§impl NodeIdGenerator for NullIdGenerator
impl NodeIdGenerator for NullIdGenerator
Auto Trait Implementations§
impl Freeze for NullIdGenerator
impl RefUnwindSafe for NullIdGenerator
impl Send for NullIdGenerator
impl Sync for NullIdGenerator
impl Unpin for NullIdGenerator
impl UnwindSafe for NullIdGenerator
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