pub struct BlockWrite {
pub canvas: u32,
pub gx: i64,
pub gy: i64,
pub sx: i64,
pub sy: i64,
pub frame: u32,
pub kind: Kind,
}Expand description
Copy of one block from a vote frame into the output: world block (gx, gy) from screen (sx, sy).
Fields§
§canvas: u32Canvas slot (set by the run driver).
gx: i64§gy: i64§sx: i64§sy: i64§frame: u32§kind: KindTrait Implementations§
Source§impl Clone for BlockWrite
impl Clone for BlockWrite
impl Copy for BlockWrite
Source§impl Debug for BlockWrite
impl Debug for BlockWrite
impl Eq for BlockWrite
Source§impl PartialEq for BlockWrite
impl PartialEq for BlockWrite
impl StructuralPartialEq for BlockWrite
Auto Trait Implementations§
impl Freeze for BlockWrite
impl RefUnwindSafe for BlockWrite
impl Send for BlockWrite
impl Sync for BlockWrite
impl Unpin for BlockWrite
impl UnsafeUnpin for BlockWrite
impl UnwindSafe for BlockWrite
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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