pub struct Cycle<head, items> {
pub head: head,
pub items: items,
}Expand description
Generate an error for a cyclic definition.
Fields§
§head: headBeginning of the cycle
items: itemsRest of the cycle (not necessarily ordered).
Trait Implementations§
Auto Trait Implementations§
impl<head, items> Freeze for Cycle<head, items>
impl<head, items> RefUnwindSafe for Cycle<head, items>where
head: RefUnwindSafe,
items: RefUnwindSafe,
impl<head, items> Send for Cycle<head, items>
impl<head, items> Sync for Cycle<head, items>
impl<head, items> Unpin for Cycle<head, items>
impl<head, items> UnwindSafe for Cycle<head, items>where
head: UnwindSafe,
items: UnwindSafe,
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