pub struct Bool(pub i32);Expand description
Bool is a wrapper for i32 in the context of an R’s tristate boolean. It can be TRUE, FALSE or NA_LOGICAL.
Tuple Fields§
§0: i32Implementations§
Trait Implementations§
Source§impl<'a> AsTypedSlice<'a, Bool> for Robjwhere
Self: 'a,
impl<'a> AsTypedSlice<'a, Bool> for Robjwhere
Self: 'a,
fn as_typed_slice(&self) -> Option<&'a [Bool]>
fn as_typed_slice_mut(&mut self) -> Option<&'a mut [Bool]>
Source§impl ToVectorValue for &Bool
impl ToVectorValue for &Bool
Source§impl ToVectorValue for Bool
impl ToVectorValue for Bool
impl Copy for Bool
impl Eq for Bool
impl StructuralPartialEq for Bool
Auto Trait Implementations§
impl Freeze for Bool
impl RefUnwindSafe for Bool
impl Send for Bool
impl Sync for Bool
impl Unpin for Bool
impl UnsafeUnpin for Bool
impl UnwindSafe for Bool
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