pub struct BeeDebugData {
pub hive_position: PrefixedOptional<Position>,
pub flower_position: PrefixedOptional<Position>,
pub travel_ticks: VarInt,
pub blacklisted_hives: PrefixedArray<Position>,
}Expand description
Bee navigation and hive debug data.
Fields§
§hive_position: PrefixedOptional<Position>Hive position, when one is assigned.
flower_position: PrefixedOptional<Position>Flower position, when one is remembered.
travel_ticks: VarIntNumber of travel ticks.
blacklisted_hives: PrefixedArray<Position>Hive positions this bee will not use.
Trait Implementations§
Source§impl Clone for BeeDebugData
impl Clone for BeeDebugData
Source§fn clone(&self) -> BeeDebugData
fn clone(&self) -> BeeDebugData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BeeDebugData
impl Debug for BeeDebugData
Source§impl PartialEq for BeeDebugData
impl PartialEq for BeeDebugData
impl StructuralPartialEq for BeeDebugData
Source§impl TypeCodec for BeeDebugData
impl TypeCodec for BeeDebugData
Auto Trait Implementations§
impl Freeze for BeeDebugData
impl RefUnwindSafe for BeeDebugData
impl Send for BeeDebugData
impl Sync for BeeDebugData
impl Unpin for BeeDebugData
impl UnsafeUnpin for BeeDebugData
impl UnwindSafe for BeeDebugData
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> ContextualCodec for Twhere
T: TypeCodec,
impl<T> ContextualCodec for Twhere
T: TypeCodec,
Source§fn encode_with_context(
&self,
writer: &mut impl Write,
_context: &Context,
) -> Result<(), CodecError>
fn encode_with_context( &self, writer: &mut impl Write, _context: &Context, ) -> Result<(), CodecError>
Encodes this value using context supplied by its enclosing structure.
Source§fn decode_with_context(
reader: &mut impl Read,
_context: &Context,
) -> Result<T, CodecError>where
T: Sized,
fn decode_with_context(
reader: &mut impl Read,
_context: &Context,
) -> Result<T, CodecError>where
T: Sized,
Decodes this value using context supplied by its enclosing structure.