Docs.rs
extendr-api-0.4.0
extendr-api 0.4.0
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
andy-thomason
clauswilke
yutannihilation
multimeric
CGMossa
Ilia-Kosenkov
Dependencies
extendr-engine ^0.4.0
normal
extendr-macros ^0.4.0
normal
lazy_static ^1.4
normal
libR-sys ^0.4.0
normal
libc ^0.2
normal
ndarray ^0.15.3
normal
num-complex ^0.4
normal
paste ^1.0.5
normal
serde ^1.0
normal
rstest ^0.16.0
dev
Versions
50.64%
of the crate is documented
Go to latest version
Platform
i686-unknown-linux-gnu
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
RColumn
Methods
new_column
nrows
Trait Implementations
TryFrom<Robj>
In extendr_api::wrapper::matrix
?
Type Definition
extendr_api
::
wrapper
::
matrix
::
RColumn
source
·
[
−
]
pub type RColumn<T> =
RArray
<T, [
usize
;
1
]>;
Implementations
§
source
§
impl<'a, T:
ToVectorValue
+ 'a>
RColumn
<T>
where
Robj
:
AsTypedSlice
<'a, T>,
source
pub fn
new_column
<F:
FnMut
(
usize
) -> T>(nrows:
usize
, f: F) -> Self
Make a new column type.
source
pub fn
nrows
(&self) ->
usize
Get the number of rows.
Trait Implementations
§
source
§
impl<'a, T: 'a>
TryFrom
<
Robj
> for
RColumn
<T>
where
Robj
:
AsTypedSlice
<'a, T>,
§
type
Error
=
Error
The type returned in the event of a conversion error.
source
§
fn
try_from
(robj:
Robj
) ->
Result
<Self>
Performs the conversion.