pub struct InterfaceRefine {
pub width_m: f64,
pub bins: usize,
}Expand description
Refined depth bins next to each interface.
Fields§
§width_m: f64Width of the refined band on each side of an interface, m. It is limited to half the layer, so the two bands of a thin layer do not overlap.
bins: usizeUniform bins in each refined band.
Trait Implementations§
Source§impl Clone for InterfaceRefine
impl Clone for InterfaceRefine
Source§fn clone(&self) -> InterfaceRefine
fn clone(&self) -> InterfaceRefine
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 InterfaceRefine
Source§impl Debug for InterfaceRefine
impl Debug for InterfaceRefine
Source§impl<'de> Deserialize<'de> for InterfaceRefine
impl<'de> Deserialize<'de> for InterfaceRefine
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 InterfaceRefine
impl PartialEq for InterfaceRefine
Source§impl Serialize for InterfaceRefine
impl Serialize for InterfaceRefine
impl StructuralPartialEq for InterfaceRefine
Auto Trait Implementations§
impl Freeze for InterfaceRefine
impl RefUnwindSafe for InterfaceRefine
impl Send for InterfaceRefine
impl Sync for InterfaceRefine
impl Unpin for InterfaceRefine
impl UnsafeUnpin for InterfaceRefine
impl UnwindSafe for InterfaceRefine
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