pub struct IdPos {
pub cube_x: u16,
pub cube_y: u16,
pub cube_angle: u16,
pub sensor_x: u16,
pub sensor_y: u16,
pub sensor_angle: u16,
}Expand description
Position id
Fields§
§cube_x: u16The x coordinate of the cube.
cube_y: u16The y coordinate of the cube.
cube_angle: u16The angle of the cube.
sensor_x: u16The x coordinate of the cube.
sensor_y: u16The y coordinate of the cube.
sensor_angle: u16The angle of the cube.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for IdPos
impl<'de> Deserialize<'de> for IdPos
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for IdPos
impl StructuralPartialEq for IdPos
Auto Trait Implementations§
impl Freeze for IdPos
impl RefUnwindSafe for IdPos
impl Send for IdPos
impl Sync for IdPos
impl Unpin for IdPos
impl UnsafeUnpin for IdPos
impl UnwindSafe for IdPos
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