pub struct TileDependency {
pub from: (u32, u32),
pub to: (u32, u32),
pub kind: TileDependencyKind,
}Expand description
A dependency edge from one tile to another.
Fields§
§from: (u32, u32)Source tile (col, row).
to: (u32, u32)Target tile (col, row) that from depends on.
kind: TileDependencyKindKind of dependency.
Trait Implementations§
Source§impl Clone for TileDependency
impl Clone for TileDependency
Source§fn clone(&self) -> TileDependency
fn clone(&self) -> TileDependency
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TileDependency
impl Debug for TileDependency
Source§impl PartialEq for TileDependency
impl PartialEq for TileDependency
impl Eq for TileDependency
impl StructuralPartialEq for TileDependency
Auto Trait Implementations§
impl Freeze for TileDependency
impl RefUnwindSafe for TileDependency
impl Send for TileDependency
impl Sync for TileDependency
impl Unpin for TileDependency
impl UnsafeUnpin for TileDependency
impl UnwindSafe for TileDependency
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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