[−][src]Struct batbox::RealImpl
Implementations
impl<T: Float> RealImpl<T>
[src]
pub fn new(value: T) -> Self
[src]
pub fn new_unchecked(value: T) -> Self
[src]
pub fn raw(self) -> T
[src]
impl<T: Float> RealImpl<T>
[src]
pub const PI: Self
[src]
pub fn signum(self) -> Self
[src]
pub fn floor(self) -> Self
[src]
pub fn ceil(self) -> Self
[src]
pub fn sqrt(self) -> Self
[src]
pub fn tan(self) -> Self
[src]
pub fn sin(self) -> Self
[src]
pub fn cos(self) -> Self
[src]
pub fn sin_cos(self) -> (Self, Self)
[src]
pub fn atan2(y: Self, x: Self) -> Self
[src]
pub fn as_f32(self) -> f32
[src]
Trait Implementations
impl<T: Float> Add<RealImpl<T>> for RealImpl<T>
[src]
type Output = Self
The resulting type after applying the +
operator.
fn add(self, rhs: Self) -> Self
[src]
impl<T: Float> AddAssign<RealImpl<T>> for RealImpl<T>
[src]
fn add_assign(&mut self, rhs: Self)
[src]
impl<T: Clone + Float> Clone for RealImpl<T>
[src]
impl<T: Copy + Float> Copy for RealImpl<T>
[src]
impl<T: Float> Debug for RealImpl<T>
[src]
impl<'de> Deserialize<'de> for RealImpl<f32>
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl<'de> Deserialize<'de> for RealImpl<f64>
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl<T: Float> Display for RealImpl<T>
[src]
impl<T: Float> Div<RealImpl<T>> for RealImpl<T>
[src]
type Output = Self
The resulting type after applying the /
operator.
fn div(self, rhs: Self) -> Self
[src]
impl<T: Float> DivAssign<RealImpl<T>> for RealImpl<T>
[src]
fn div_assign(&mut self, rhs: Self)
[src]
impl<T: Float> Eq for RealImpl<T>
[src]
impl<T: Float> Mul<RealImpl<T>> for RealImpl<T>
[src]
type Output = Self
The resulting type after applying the *
operator.
fn mul(self, rhs: Self) -> Self
[src]
impl<T: Float> MulAssign<RealImpl<T>> for RealImpl<T>
[src]
fn mul_assign(&mut self, rhs: Self)
[src]
impl<T: Float> Neg for RealImpl<T>
[src]
impl<T: Float> Ord for RealImpl<T>
[src]
fn cmp(&self, other: &Self) -> 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 + Float> PartialEq<RealImpl<T>> for RealImpl<T>
[src]
impl<T: PartialOrd + Float> PartialOrd<RealImpl<T>> for RealImpl<T>
[src]
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: Float> Real for RealImpl<T>
[src]
const PI: Self
[src]
fn signum(self) -> Self
[src]
fn floor(self) -> Self
[src]
fn ceil(self) -> Self
[src]
fn sqrt(self) -> Self
[src]
fn tan(self) -> Self
[src]
fn sin(self) -> Self
[src]
fn cos(self) -> Self
[src]
fn sin_cos(self) -> (Self, Self)
[src]
fn atan2(y: Self, x: Self) -> Self
[src]
fn as_f32(self) -> f32
[src]
impl<T: Float> Schematic for RealImpl<T> where
T: Schematic + 'static,
[src]
T: Schematic + 'static,
fn create_schema() -> Schema
[src]
impl<T: Float> Serialize for RealImpl<T> where
T: Serialize,
[src]
T: Serialize,
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<T: Float> StructuralPartialEq for RealImpl<T>
[src]
impl<T: Float> Sub<RealImpl<T>> for RealImpl<T>
[src]
type Output = Self
The resulting type after applying the -
operator.
fn sub(self, rhs: Self) -> Self
[src]
impl<T: Float> SubAssign<RealImpl<T>> for RealImpl<T>
[src]
fn sub_assign(&mut self, rhs: Self)
[src]
impl<T: Float + Trans> Trans for RealImpl<T>
[src]
fn read_from(reader: &mut dyn Read) -> Result<Self, 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<Self, Self::Error>
[src]
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<Self, Self::Error>
[src]
impl<T: Float> UNum for RealImpl<T>
[src]
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> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
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> 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.
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>,