[−][src]Struct geng_core::prelude::RealImpl
Implementations
impl<T> RealImpl<T> where
T: Float,
[src]
T: Float,
pub fn new(value: T) -> RealImpl<T>
[src]
pub fn new_unchecked(value: T) -> RealImpl<T>
[src]
pub fn raw(self) -> T
[src]
impl<T> RealImpl<T> where
T: Float,
[src]
T: Float,
pub const PI: RealImpl<T>
[src]
pub fn signum(self) -> RealImpl<T>
[src]
pub fn floor(self) -> RealImpl<T>
[src]
pub fn ceil(self) -> RealImpl<T>
[src]
pub fn sqrt(self) -> RealImpl<T>
[src]
pub fn tan(self) -> RealImpl<T>
[src]
pub fn sin(self) -> RealImpl<T>
[src]
pub fn cos(self) -> RealImpl<T>
[src]
pub fn sin_cos(self) -> (RealImpl<T>, RealImpl<T>)
[src]
pub fn atan2(y: RealImpl<T>, x: RealImpl<T>) -> RealImpl<T>
[src]
pub fn as_f32(self) -> f32
[src]
Trait Implementations
impl<T> Add<RealImpl<T>> for RealImpl<T> where
T: Float,
[src]
T: Float,
type Output = RealImpl<T>
The resulting type after applying the +
operator.
fn add(self, rhs: RealImpl<T>) -> RealImpl<T>
[src]
impl<T> AddAssign<RealImpl<T>> for RealImpl<T> where
T: Float,
[src]
T: Float,
fn add_assign(&mut self, rhs: RealImpl<T>)
[src]
impl<T> Clone for RealImpl<T> where
T: Float + Clone,
[src]
T: Float + Clone,
impl<T> Copy for RealImpl<T> where
T: Float + Copy,
[src]
T: Float + Copy,
impl<T> Debug for RealImpl<T> where
T: Float,
[src]
T: Float,
impl<'de> Deserialize<'de> for RealImpl<f32>
[src]
fn deserialize<D>(
deserializer: D
) -> Result<RealImpl<f32>, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
[src]
deserializer: D
) -> Result<RealImpl<f32>, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
impl<'de> Deserialize<'de> for RealImpl<f64>
[src]
fn deserialize<D>(
deserializer: D
) -> Result<RealImpl<f64>, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
[src]
deserializer: D
) -> Result<RealImpl<f64>, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
impl<T> Display for RealImpl<T> where
T: Float,
[src]
T: Float,
impl<T> Div<RealImpl<T>> for RealImpl<T> where
T: Float,
[src]
T: Float,
type Output = RealImpl<T>
The resulting type after applying the /
operator.
fn div(self, rhs: RealImpl<T>) -> RealImpl<T>
[src]
impl<T> DivAssign<RealImpl<T>> for RealImpl<T> where
T: Float,
[src]
T: Float,
fn div_assign(&mut self, rhs: RealImpl<T>)
[src]
impl<T> Eq for RealImpl<T> where
T: Float,
[src]
T: Float,
impl<T> Mul<RealImpl<T>> for RealImpl<T> where
T: Float,
[src]
T: Float,
type Output = RealImpl<T>
The resulting type after applying the *
operator.
fn mul(self, rhs: RealImpl<T>) -> RealImpl<T>
[src]
impl<T> MulAssign<RealImpl<T>> for RealImpl<T> where
T: Float,
[src]
T: Float,
fn mul_assign(&mut self, rhs: RealImpl<T>)
[src]
impl<T> Neg for RealImpl<T> where
T: Float,
[src]
T: Float,
type Output = RealImpl<T>
The resulting type after applying the -
operator.
fn neg(self) -> RealImpl<T>
[src]
impl<T> Ord for RealImpl<T> where
T: Float,
[src]
T: Float,
fn cmp(&self, other: &RealImpl<T>) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl<T> PartialEq<RealImpl<T>> for RealImpl<T> where
T: Float + PartialEq<T>,
[src]
T: Float + PartialEq<T>,
impl<T> PartialOrd<RealImpl<T>> for RealImpl<T> where
T: Float + PartialOrd<T>,
[src]
T: Float + PartialOrd<T>,
fn partial_cmp(&self, other: &RealImpl<T>) -> Option<Ordering>
[src]
fn lt(&self, other: &RealImpl<T>) -> bool
[src]
fn le(&self, other: &RealImpl<T>) -> bool
[src]
fn gt(&self, other: &RealImpl<T>) -> bool
[src]
fn ge(&self, other: &RealImpl<T>) -> bool
[src]
impl<T> Real for RealImpl<T> where
T: Float,
[src]
T: Float,
const PI: RealImpl<T>
[src]
fn signum(self) -> RealImpl<T>
[src]
fn floor(self) -> RealImpl<T>
[src]
fn ceil(self) -> RealImpl<T>
[src]
fn sqrt(self) -> RealImpl<T>
[src]
fn tan(self) -> RealImpl<T>
[src]
fn sin(self) -> RealImpl<T>
[src]
fn cos(self) -> RealImpl<T>
[src]
fn sin_cos(self) -> (RealImpl<T>, RealImpl<T>)
[src]
fn atan2(y: RealImpl<T>, x: RealImpl<T>) -> RealImpl<T>
[src]
fn as_f32(self) -> f32
[src]
impl<T> Schematic for RealImpl<T> where
T: Float + Schematic + 'static,
[src]
T: Float + Schematic + 'static,
fn create_schema() -> Schema
[src]
impl<T> Serialize for RealImpl<T> where
T: Float + Serialize,
[src]
T: Float + Serialize,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
impl<T> Sub<RealImpl<T>> for RealImpl<T> where
T: Float,
[src]
T: Float,
type Output = RealImpl<T>
The resulting type after applying the -
operator.
fn sub(self, rhs: RealImpl<T>) -> RealImpl<T>
[src]
impl<T> SubAssign<RealImpl<T>> for RealImpl<T> where
T: Float,
[src]
T: Float,
fn sub_assign(&mut self, rhs: RealImpl<T>)
[src]
impl<T> Trans for RealImpl<T> where
T: Float + Trans,
[src]
T: Float + Trans,
fn read_from(reader: &mut dyn Read) -> Result<RealImpl<T>, Error>
[src]
fn write_to(&self, writer: &mut dyn Write) -> Result<(), Error>
[src]
impl TryFrom<f32> for RealImpl<f32>
[src]
type Error = &'static str
The type returned in the event of a conversion error.
fn try_from(
value: f32
) -> Result<RealImpl<f32>, <RealImpl<f32> as TryFrom<f32>>::Error>
[src]
value: f32
) -> Result<RealImpl<f32>, <RealImpl<f32> as TryFrom<f32>>::Error>
impl TryFrom<f64> for RealImpl<f64>
[src]
type Error = &'static str
The type returned in the event of a conversion error.
fn try_from(
value: f64
) -> Result<RealImpl<f64>, <RealImpl<f64> as TryFrom<f64>>::Error>
[src]
value: f64
) -> Result<RealImpl<f64>, <RealImpl<f64> as TryFrom<f64>>::Error>
impl<T> UNum for RealImpl<T> where
T: Float,
[src]
T: Float,
Auto Trait Implementations
impl<T> RefUnwindSafe for RealImpl<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for RealImpl<T> where
T: Send,
T: Send,
impl<T> Sync for RealImpl<T> where
T: Sync,
T: Sync,
impl<T> Unpin for RealImpl<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for RealImpl<T> where
T: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> ApproxEq for T where
T: Float,
[src]
T: Float,
fn approx_distance_to(&self, other: &T) -> f32
[src]
fn approx_eq(&self, other: &Self) -> bool
[src]
fn approx_eq_eps(&self, other: &Self, eps: f32) -> bool
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow(&self) -> &TⓘImportant traits for &'_ mut R
impl<'_, R> Read for &'_ mut R where
R: Read + ?Sized, impl<'_, W> Write for &'_ mut W where
W: Write + ?Sized, impl<'_, I> Iterator for &'_ mut I where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;impl<'_, F> Future for &'_ mut F where
F: Unpin + Future + ?Sized, type Output = <F as Future>::Output;
[src]
Important traits for &'_ mut R
impl<'_, R> Read for &'_ mut R where
R: Read + ?Sized, impl<'_, W> Write for &'_ mut W where
W: Write + ?Sized, impl<'_, I> Iterator for &'_ mut I where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;impl<'_, F> Future for &'_ mut F where
F: Unpin + Future + ?Sized, type Output = <F as Future>::Output;
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut TⓘImportant traits for &'_ mut R
impl<'_, R> Read for &'_ mut R where
R: Read + ?Sized, impl<'_, W> Write for &'_ mut W where
W: Write + ?Sized, impl<'_, I> Iterator for &'_ mut I where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;impl<'_, F> Future for &'_ mut F where
F: Unpin + Future + ?Sized, type Output = <F as Future>::Output;
[src]
Important traits for &'_ mut R
impl<'_, R> Read for &'_ mut R where
R: Read + ?Sized, impl<'_, W> Write for &'_ mut W where
W: Write + ?Sized, impl<'_, I> Iterator for &'_ mut I where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;impl<'_, F> Future for &'_ mut F where
F: Unpin + Future + ?Sized, type Output = <F as Future>::Output;
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> DynClone for T where
T: Clone,
[src]
T: Clone,
impl<T> Float for T where
T: Real,
[src]
T: Real,
const PI: T
[src]
fn signum(self) -> T
[src]
fn floor(self) -> T
[src]
fn ceil(self) -> T
[src]
fn sqrt(self) -> T
[src]
fn tan(self) -> T
[src]
fn sin(self) -> T
[src]
fn cos(self) -> T
[src]
fn sin_cos(self) -> (T, T)
[src]
fn atan2(y: T, x: T) -> T
[src]
fn is_finite(self) -> bool
[src]
fn as_f32(self) -> f32
[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> Num for T where
T: UNum + Neg<Output = T>,
[src]
T: UNum + Neg<Output = T>,
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
T: Parameter<Self>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
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.
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,