pub struct ClientData {
pub x_position: f64,
pub marker_id: u8,
}Fields§
§x_position: f64§marker_id: u8Implementations§
Source§impl ClientData
impl ClientData
pub fn new(marker_id: u8, x_position: f64) -> ClientData
Trait Implementations§
Source§impl Clone for ClientData
impl Clone for ClientData
Source§fn clone(&self) -> ClientData
fn clone(&self) -> ClientData
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 ClientData
impl Debug for ClientData
Source§impl PartialEq for ClientData
impl PartialEq for ClientData
Source§fn eq(&self, other: &ClientData) -> bool
fn eq(&self, other: &ClientData) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ClientData
impl StructuralPartialEq for ClientData
Auto Trait Implementations§
impl Freeze for ClientData
impl RefUnwindSafe for ClientData
impl Send for ClientData
impl Sync for ClientData
impl Unpin for ClientData
impl UnsafeUnpin for ClientData
impl UnwindSafe for ClientData
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