pub struct AxisBools {
pub x: bool,
pub y: bool,
}Expand description
Two bools, one for each axis (X and Y).
Fields§
§x: bool§y: boolImplementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for AxisBools
impl<'de> Deserialize<'de> for AxisBools
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
source§impl PartialEq for AxisBools
impl PartialEq for AxisBools
impl Copy for AxisBools
impl Eq for AxisBools
impl StructuralEq for AxisBools
impl StructuralPartialEq for AxisBools
Auto Trait Implementations§
impl RefUnwindSafe for AxisBools
impl Send for AxisBools
impl Sync for AxisBools
impl Unpin for AxisBools
impl UnwindSafe for AxisBools
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