pub struct FlowVector {
pub dx: i8,
pub dy: i8,
}Expand description
Flow direction per cell: an 8-directional flow vector.
Fields§
§dx: i8§dy: i8Implementations§
Trait Implementations§
Source§impl Clone for FlowVector
impl Clone for FlowVector
Source§fn clone(&self) -> FlowVector
fn clone(&self) -> FlowVector
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 FlowVector
impl Debug for FlowVector
Source§impl Default for FlowVector
impl Default for FlowVector
Source§fn default() -> FlowVector
fn default() -> FlowVector
Returns the “default value” for a type. Read more
impl Copy for FlowVector
Auto Trait Implementations§
impl Freeze for FlowVector
impl RefUnwindSafe for FlowVector
impl Send for FlowVector
impl Sync for FlowVector
impl Unpin for FlowVector
impl UnsafeUnpin for FlowVector
impl UnwindSafe for FlowVector
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