Struct polystrip::vertex::Vector2 [−][src]
A 2D vector in screen space
Implementations
impl Vector2
[src]
Methods from Deref<Target = Vector2<f32>>
Trait Implementations
impl Clone for Vector2
[src]
impl Copy for Vector2
[src]
impl Debug for Vector2
[src]
impl Deref for Vector2
[src]
type Target = Vector2<f32>
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
impl DerefMut for Vector2
[src]
impl From<[f32; 2]> for Vector2
[src]
impl From<Vector2<f32>> for Vector2
[src]
impl From<Vector2> for Vector2<f32>
[src]
impl PartialEq<Vector2> for Vector2
[src]
impl PartialOrd<Vector2> for Vector2
[src]
fn partial_cmp(&self, other: &Vector2) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl Pod for Vector2
[src]
impl StructuralPartialEq for Vector2
[src]
impl Zeroable for Vector2
[src]
Auto Trait Implementations
impl RefUnwindSafe for Vector2
impl Send for Vector2
impl Sync for Vector2
impl Unpin for Vector2
impl UnwindSafe for Vector2
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,