[]Struct lumol::sys::Angle

pub struct Angle { /* fields omitted */ }

An Angle formed by the particles at indexes i, j and k

This structure ensure uniqueness of the Angle representation by enforcing i < k


impl Angle

pub fn new(first: usize, second: usize, third: usize) -> Angle

Create a new Angle between the particles at indexes first, second and third

pub fn i(&self) -> usize

Get the first particle in the angle

pub fn j(&self) -> usize

Get the second particle in the angle

pub fn k(&self) -> usize

Get the third particle in the angle

Trait Implementations

impl Clone for Angle

impl Copy for Angle

impl Debug for Angle

impl Eq for Angle

impl Hash for Angle

impl PartialEq<Angle> for Angle

impl StructuralEq for Angle

impl StructuralPartialEq for Angle

Auto Trait Implementations

impl RefUnwindSafe for Angle

impl Send for Angle

impl Sync for Angle

impl Unpin for Angle

impl UnwindSafe for Angle

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,