pub struct DynamicTerminalManager<'id, T, N, ET, const TERMINALS: usize> { /* private fields */ }Trait Implementations§
Source§impl<'id, T, N, ET, const TERMINALS: usize> TerminalManager<'id, N, ET, TERMINALS> for DynamicTerminalManager<'id, T, N, ET, TERMINALS>
impl<'id, T, N, ET, const TERMINALS: usize> TerminalManager<'id, N, ET, TERMINALS> for DynamicTerminalManager<'id, T, N, ET, TERMINALS>
Source§type TerminalNode = T
type TerminalNode = T
The terminal node type
Source§type TerminalNodeRef<'a> = &'a T
where
Self: 'a
type TerminalNodeRef<'a> = &'a T where Self: 'a
References to
Self::TerminalNodes Read moreSource§type Iterator<'a> = DynamicTerminalIterator<'a, 'id, T, N, ET>
where
Self: 'a,
'id: 'a
type Iterator<'a> = DynamicTerminalIterator<'a, 'id, T, N, ET> where Self: 'a, 'id: 'a
Iterator over all terminal nodes (as
Edges), see Self::iter()Source§fn with_capacity(capacity: u32) -> Self
fn with_capacity(capacity: u32) -> Self
Create a new
TerminalManager Read moreSource§unsafe fn retain(&self, id: usize)
unsafe fn retain(&self, id: usize)
Increment the reference counter of the terminal
id Read moreSource§unsafe fn release(&self, id: usize)
unsafe fn release(&self, id: usize)
Decrement the reference counter of the terminal
id Read moreimpl<T: Send + Sync, N: Send + Sync, ET: Send + Sync, const TERMINALS: usize> Send for DynamicTerminalManager<'_, T, N, ET, TERMINALS>
impl<T: Send + Sync, N: Send + Sync, ET: Send + Sync, const TERMINALS: usize> Sync for DynamicTerminalManager<'_, T, N, ET, TERMINALS>
Auto Trait Implementations§
impl<'id, T, N, ET, const TERMINALS: usize> !Freeze for DynamicTerminalManager<'id, T, N, ET, TERMINALS>
impl<'id, T, N, ET, const TERMINALS: usize> !RefUnwindSafe for DynamicTerminalManager<'id, T, N, ET, TERMINALS>
impl<'id, T, N, ET, const TERMINALS: usize> Unpin for DynamicTerminalManager<'id, T, N, ET, TERMINALS>
impl<'id, T, N, ET, const TERMINALS: usize> UnwindSafe for DynamicTerminalManager<'id, T, N, ET, TERMINALS>
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> 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