Enum libreda_db::prelude::Angle [−][src]
Angle expressed as a multiple of 90 degrees.
Variants
0 Degrees.
90 Degrees.
180 Degrees.
270 Degrees.
Implementations
impl Angle[src]
pub fn as_int(&self) -> u32[src]
Describe the angle as a integer multiple of 90 degrees.
pub fn from_u32(a: u32) -> Angle[src]
Convert an integer to an angle. The integer specifies the number of 90 degree rotations.
Trait Implementations
impl Add<Angle> for Angle[src]
type Output = Angle
The resulting type after applying the + operator.
pub fn add(self, rhs: Angle) -> <Angle as Add<Angle>>::Output[src]
impl Clone for Angle[src]
impl Copy for Angle[src]
impl Debug for Angle[src]
impl Default for Angle[src]
impl Eq for Angle[src]
impl Hash for Angle[src]
pub fn hash<__H>(&self, state: &mut __H) where
__H: Hasher, [src]
__H: Hasher,
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
impl Neg for Angle[src]
type Output = Angle
The resulting type after applying the - operator.
pub fn neg(self) -> <Angle as Neg>::Output[src]
impl PartialEq<Angle> for Angle[src]
pub fn eq(&self, other: &Angle) -> bool[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl StructuralEq for Angle[src]
impl StructuralPartialEq for Angle[src]
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, [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> TextType for T where
T: Clone + Eq + Debug + Hash, [src]
T: Clone + Eq + Debug + Hash,
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>,