extendr_api::io

Type Alias PstreamFormat

Source
pub type PstreamFormat = R_pstream_format_t;

Aliased Type§

enum PstreamFormat {
    R_pstream_any_format = 0,
    R_pstream_ascii_format = 1,
    R_pstream_binary_format = 2,
    R_pstream_xdr_format = 3,
    R_pstream_asciihex_format = 4,
}

Variants§

§

R_pstream_any_format = 0

§

R_pstream_ascii_format = 1

§

R_pstream_binary_format = 2

§

R_pstream_xdr_format = 3

§

R_pstream_asciihex_format = 4

Trait Implementations

§

impl Clone for R_pstream_format_t

§

fn clone(&self) -> R_pstream_format_t

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for R_pstream_format_t

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Hash for R_pstream_format_t

§

fn hash<__H>(&self, state: &mut __H)
where __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
§

impl PartialEq for R_pstream_format_t

§

fn eq(&self, other: &R_pstream_format_t) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
§

impl Copy for R_pstream_format_t

§

impl Eq for R_pstream_format_t

§

impl StructuralPartialEq for R_pstream_format_t