pub struct Tree { /* private fields */ }Implementations§
Source§impl Tree
impl Tree
pub const fn new() -> Self
pub fn contains(&self, slot: Slot) -> bool
pub fn play(&self, slot: Slot) -> Option<&Play>
pub fn slots(&self) -> impl Iterator<Item = Slot> + '_
pub fn plays(&self) -> impl Iterator<Item = &Play>
pub fn start(&self) -> &[Slot] ⓘ
pub fn options(&self, node: Node) -> &[Slot] ⓘ
Trait Implementations§
impl StructuralPartialEq for Tree
Auto Trait Implementations§
impl Freeze for Tree
impl RefUnwindSafe for Tree
impl Send for Tree
impl Sync for Tree
impl Unpin for Tree
impl UnsafeUnpin for Tree
impl UnwindSafe for Tree
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