pub struct LogRadialBinning {
pub r_min_m: f64,
pub r_max_m: f64,
pub bins: usize,
}Expand description
Log-spaced radial bins: bin 0 is the disc [0, r_min), bins 1..=bins
split [r_min, r_max) into bins bins of equal width in ln r. Metres.
Fields§
§r_min_m: f64Inner edge of the first log bin (outer edge of the central disc), m.
r_max_m: f64Outer edge of the last bin, m.
bins: usizeNumber of log bins (the central disc is one more).
Implementations§
Trait Implementations§
Source§impl Clone for LogRadialBinning
impl Clone for LogRadialBinning
Source§fn clone(&self) -> LogRadialBinning
fn clone(&self) -> LogRadialBinning
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LogRadialBinning
Source§impl Debug for LogRadialBinning
impl Debug for LogRadialBinning
Source§impl<'de> Deserialize<'de> for LogRadialBinning
impl<'de> Deserialize<'de> for LogRadialBinning
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for LogRadialBinning
impl PartialEq for LogRadialBinning
Source§impl Serialize for LogRadialBinning
impl Serialize for LogRadialBinning
impl StructuralPartialEq for LogRadialBinning
Auto Trait Implementations§
impl Freeze for LogRadialBinning
impl RefUnwindSafe for LogRadialBinning
impl Send for LogRadialBinning
impl Sync for LogRadialBinning
impl Unpin for LogRadialBinning
impl UnsafeUnpin for LogRadialBinning
impl UnwindSafe for LogRadialBinning
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more