Trait r::object::coercion::IntoLogical

source ·
pub trait IntoLogical<T> {
    // Required method
    fn as_logical(&mut self) -> T;
}

Required Methods§

source

fn as_logical(&mut self) -> T

Implementations on Foreign Types§

source§

impl IntoLogical<bool> for bool

source§

fn as_logical(&mut self) -> bool

source§

impl IntoLogical<bool> for f32

source§

fn as_logical(&mut self) -> bool

source§

impl IntoLogical<bool> for f64

source§

fn as_logical(&mut self) -> bool

source§

impl IntoLogical<bool> for i32

source§

fn as_logical(&mut self) -> bool

source§

impl IntoLogical<bool> for i64

source§

fn as_logical(&mut self) -> bool

source§

impl IntoLogical<bool> for i128

source§

fn as_logical(&mut self) -> bool

Implementors§

source§

impl<T, U> IntoLogical<OptionNA<T>> for OptionNA<U>
where U: IntoLogical<T>,