Struct futuresdr::blocks::signal_source::FixedPointPhase
source · pub struct FixedPointPhase {
pub value: i32,
}
Expand description
Fixed point implementation of phase value based on i32 fixed pt radians
-231 -pi 0 0 231-1 pi - epsilon
Fields§
§value: i32
Implementations§
Trait Implementations§
source§impl Add<FixedPointPhase> for FixedPointPhase
impl Add<FixedPointPhase> for FixedPointPhase
source§impl Add<f32> for FixedPointPhase
impl Add<f32> for FixedPointPhase
source§impl AddAssign<FixedPointPhase> for FixedPointPhase
impl AddAssign<FixedPointPhase> for FixedPointPhase
source§fn add_assign(&mut self, other: Self)
fn add_assign(&mut self, other: Self)
Performs the
+=
operation. Read moresource§impl Clone for FixedPointPhase
impl Clone for FixedPointPhase
source§fn clone(&self) -> FixedPointPhase
fn clone(&self) -> FixedPointPhase
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for FixedPointPhase
impl Debug for FixedPointPhase
source§impl Display for FixedPointPhase
impl Display for FixedPointPhase
source§impl From<&FixedPointPhase> for f32
impl From<&FixedPointPhase> for f32
source§fn from(x: &FixedPointPhase) -> Self
fn from(x: &FixedPointPhase) -> Self
Converts to this type from the input type.
source§impl Mul<i32> for FixedPointPhase
impl Mul<i32> for FixedPointPhase
source§impl PartialEq<FixedPointPhase> for FixedPointPhase
impl PartialEq<FixedPointPhase> for FixedPointPhase
source§fn eq(&self, other: &FixedPointPhase) -> bool
fn eq(&self, other: &FixedPointPhase) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.