pub struct GdsDepOrder<'a> { /* private fields */ }Expand description
§Gds Dependency-Order
Creates a vector of references Gds structs, ordered by their instance dependencies.
Each item in the ordered return value is guaranteed not to instantiate any item which comes later.
Intended usage: for s in GdsDepOrder::order(&gds) { /* do stuff */ }
Note this does not use the utils [DepOrder] trait, as it requires tracking of a separete
hash-map of structs by (string) name.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for GdsDepOrder<'a>
impl<'a> RefUnwindSafe for GdsDepOrder<'a>
impl<'a> Send for GdsDepOrder<'a>
impl<'a> Sync for GdsDepOrder<'a>
impl<'a> Unpin for GdsDepOrder<'a>
impl<'a> UnsafeUnpin for GdsDepOrder<'a>
impl<'a> UnwindSafe for GdsDepOrder<'a>
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