#[repr(transparent)]pub struct Radians(pub f32);Expand description
Tuple Fields§
§0: f32Implementations§
Trait Implementations§
Source§impl AddAssign for Radians
impl AddAssign for Radians
Source§fn add_assign(&mut self, rhs: Radians)
fn add_assign(&mut self, rhs: Radians)
Performs the
+= operation. Read moreimpl Copy for Radians
Source§impl<'de> Deserialize<'de> for Radians
impl<'de> Deserialize<'de> for Radians
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Radians, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Radians, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl DivAssign<f32> for Radians
impl DivAssign<f32> for Radians
Source§fn div_assign(&mut self, rhs: f32)
fn div_assign(&mut self, rhs: f32)
Performs the
/= operation. Read moreimpl Eq for Radians
Source§impl From<Percentage> for Radians
A fraction of a full turn (Radians::from(percentage(0.25)) is a
quarter turn), as in GPUI.
impl From<Percentage> for Radians
A fraction of a full turn (Radians::from(percentage(0.25)) is a
quarter turn), as in GPUI.
Source§fn from(value: Percentage) -> Radians
fn from(value: Percentage) -> Radians
Converts to this type from the input type.
Source§impl IntoReactive<Radians> for Radians
impl IntoReactive<Radians> for Radians
Source§impl MulAssign<f32> for Radians
impl MulAssign<f32> for Radians
Source§fn mul_assign(&mut self, rhs: f32)
fn mul_assign(&mut self, rhs: f32)
Performs the
*= operation. Read moreSource§impl PartialOrd for Radians
impl PartialOrd for Radians
Source§impl Serialize for Radians
impl Serialize for Radians
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for Radians
Source§impl SubAssign for Radians
impl SubAssign for Radians
Source§fn sub_assign(&mut self, rhs: Radians)
fn sub_assign(&mut self, rhs: Radians)
Performs the
-= operation. Read moreAuto Trait Implementations§
impl Freeze for Radians
impl RefUnwindSafe for Radians
impl Send for Radians
impl Sync for Radians
impl Unpin for Radians
impl UnsafeUnpin for Radians
impl UnwindSafe for Radians
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.impl<T, Rhs, Output> GroupOps<Rhs, Output> for T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<E> IntoThrown for Ewhere
E: Display,
impl<E> IntoThrown for Ewhere
E: Display,
Source§fn into_thrown(self) -> Thrown
fn into_thrown(self) -> Thrown
The exception.