Struct flattiverse_connector::controllable::SubDirection
source · pub struct SubDirection { /* private fields */ }
Implementations
sourceimpl SubDirection
impl SubDirection
pub fn new(time: u16, movement: Vector) -> SubDirection
pub fn from_reader(reader: &mut dyn BinaryReader) -> Result<SubDirection, Error>
pub fn time(&self) -> u16
pub fn movement(&self) -> &Vector
pub fn write(&self, writer: &mut dyn BinaryWriter) -> Result<(), Error>
Trait Implementations
sourceimpl Clone for SubDirection
impl Clone for SubDirection
sourcefn clone(&self) -> SubDirection
fn clone(&self) -> SubDirection
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations
impl !RefUnwindSafe for SubDirection
impl Send for SubDirection
impl Sync for SubDirection
impl Unpin for SubDirection
impl !UnwindSafe for SubDirection
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more