pub struct YesTick {
pub ticked: bool,
}
Expand description
Node that will panic upon being dropped if it hasn’t ticked at least once.
Inspired by https://github.com/danieleades/aspen/blob/master/src/std_nodes/testing.rs
Fields§
§ticked: bool
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for YesTick
impl RefUnwindSafe for YesTick
impl Send for YesTick
impl Sync for YesTick
impl Unpin for YesTick
impl UnwindSafe for YesTick
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