pub struct Vec2(/* private fields */);Expand description
A 2-component float vector.
Implementations§
Trait Implementations§
Source§impl Inspectable for Vec2
impl Inspectable for Vec2
Source§fn inspect(&self) -> Vec<InspectorField>
fn inspect(&self) -> Vec<InspectorField>
Return a list of inspector fields describing this object’s current state.
Source§fn apply_changes(&mut self, changes: Vec<(String, InspectorValue)>)
fn apply_changes(&mut self, changes: Vec<(String, InspectorValue)>)
Apply a list of (name, new_value) changes from the inspector.
impl Copy for Vec2
impl StructuralPartialEq for Vec2
Auto Trait Implementations§
impl Freeze for Vec2
impl RefUnwindSafe for Vec2
impl Send for Vec2
impl Sync for Vec2
impl Unpin for Vec2
impl UnsafeUnpin for Vec2
impl UnwindSafe for Vec2
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