Struct NoSingleBasis
pub struct NoSingleBasis {
convention: &'static str,
}Expand description
A yield convention asked for a reading that needs one compounding basis when its kernel has none — the ISE and JGB simple-yield conventions.
Fields§
§convention: &'static strImplementations§
§impl NoSingleBasis
impl NoSingleBasis
pub fn convention(&self) -> &'static str
pub fn convention(&self) -> &'static str
The convention’s code.
Trait Implementations§
§impl Clone for NoSingleBasis
impl Clone for NoSingleBasis
§fn clone(&self) -> NoSingleBasis
fn clone(&self) -> NoSingleBasis
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 more§impl Debug for NoSingleBasis
impl Debug for NoSingleBasis
§impl Display for NoSingleBasis
impl Display for NoSingleBasis
impl Eq for NoSingleBasis
§impl Error for NoSingleBasis
impl Error for NoSingleBasis
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
§impl From<NoSingleBasis> for BondReadingError
impl From<NoSingleBasis> for BondReadingError
§fn from(e: NoSingleBasis) -> Self
fn from(e: NoSingleBasis) -> Self
Converts to this type from the input type.
§impl PartialEq for NoSingleBasis
impl PartialEq for NoSingleBasis
impl StructuralPartialEq for NoSingleBasis
Auto Trait Implementations§
impl Freeze for NoSingleBasis
impl RefUnwindSafe for NoSingleBasis
impl Send for NoSingleBasis
impl Sync for NoSingleBasis
impl Unpin for NoSingleBasis
impl UnsafeUnpin for NoSingleBasis
impl UnwindSafe for NoSingleBasis
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