pub trait RCoercePOSIXct {
// Required method
fn as_posixct(&self) -> Result<SEXP, RCoerceError>;
}Expand description
Trait for types that can be coerced to POSIXct via as.POSIXct().
The result should be an R POSIXct object (numeric with “POSIXct”, “POSIXt” class).
Required Methods§
Sourcefn as_posixct(&self) -> Result<SEXP, RCoerceError>
fn as_posixct(&self) -> Result<SEXP, RCoerceError>
Convert to an R POSIXct.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".