pub struct AccelerationCallbackThreshold {
pub option: char,
pub min_x: i16,
pub max_x: i16,
pub min_y: i16,
pub max_y: i16,
pub min_z: i16,
pub max_z: i16,
}
Fields§
§option: char
§min_x: i16
§max_x: i16
§min_y: i16
§max_y: i16
§min_z: i16
§max_z: i16
Trait Implementations§
Source§impl Clone for AccelerationCallbackThreshold
impl Clone for AccelerationCallbackThreshold
Source§fn clone(&self) -> AccelerationCallbackThreshold
fn clone(&self) -> AccelerationCallbackThreshold
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for AccelerationCallbackThreshold
impl Default for AccelerationCallbackThreshold
Source§fn default() -> AccelerationCallbackThreshold
fn default() -> AccelerationCallbackThreshold
Returns the “default value” for a type. Read more
Source§impl FromByteSlice for AccelerationCallbackThreshold
impl FromByteSlice for AccelerationCallbackThreshold
Source§fn bytes_expected() -> usize
fn bytes_expected() -> usize
Returns how many bytes are expected to deserialize a instance of the implementing type. Currently this method is only used for strings.
Source§fn from_le_byte_slice(bytes: &[u8]) -> AccelerationCallbackThreshold
fn from_le_byte_slice(bytes: &[u8]) -> AccelerationCallbackThreshold
Deserialize the implementing type from a byte slice.
Source§impl Hash for AccelerationCallbackThreshold
impl Hash for AccelerationCallbackThreshold
Source§impl PartialEq for AccelerationCallbackThreshold
impl PartialEq for AccelerationCallbackThreshold
Source§fn eq(&self, other: &AccelerationCallbackThreshold) -> bool
fn eq(&self, other: &AccelerationCallbackThreshold) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for AccelerationCallbackThreshold
impl Eq for AccelerationCallbackThreshold
impl StructuralPartialEq for AccelerationCallbackThreshold
Auto Trait Implementations§
impl Freeze for AccelerationCallbackThreshold
impl RefUnwindSafe for AccelerationCallbackThreshold
impl Send for AccelerationCallbackThreshold
impl Sync for AccelerationCallbackThreshold
impl Unpin for AccelerationCallbackThreshold
impl UnwindSafe for AccelerationCallbackThreshold
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