pub struct RString(/* private fields */);Implementations§
Source§impl RString
impl RString
pub fn from_string(string: String) -> Self
pub fn empty() -> Self
pub fn push(self, string: &str) -> Self
pub fn as_f64(&self) -> Result<f64, Box<dyn Error>>
pub fn as_complex64(&self) -> Result<Complex64, Box<dyn Error>>
pub fn as_complex64_vec(&self) -> Result<Vec<Complex64>, Box<dyn Error>>
pub fn as_f64_vec(&self) -> Result<Vec<f64>, Box<dyn Error>>
pub fn as_f64_matrix(&self) -> Result<DMatrix<f64>, Box<dyn Error>>
pub fn as_bool(&self) -> Result<bool, Box<String>>
pub fn as_lm_regression(&self) -> LMRegression
pub fn as_rlm_regression(&self) -> RLMRegression
pub fn as_glm_regression(&self) -> GLMRegression
pub fn as_r_fit(&self) -> RFitRegression
pub fn as_one_way_r_fit(&self) -> Vec<OneWayRFit>
pub fn as_raov(&self) -> Vec<RAOV>
pub fn from_f64_slice(v: &[f64]) -> Self
pub fn from_complex64_slice(v: &[Complex64]) -> Self
pub fn from_f64_matrix<R, C, S>(m: &Matrix<f64, R, C, S>) -> Self
pub fn from_bool(b: bool) -> Self
pub fn from_f64<F: ToPrimitive + Debug>(num: F) -> Self
pub fn from_library_name(lib_name: &str) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RString
impl RefUnwindSafe for RString
impl Send for RString
impl Sync for RString
impl Unpin for RString
impl UnwindSafe for RString
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.