Skip to content

Commit

Permalink
third draft? inner field public
Browse files Browse the repository at this point in the history
  • Loading branch information
CGMossa committed Mar 17, 2024
1 parent 24fe388 commit 2a8b232
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions extendr-api/src/robj/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,11 @@ pub use operators::Operators;
pub use operators::*;
pub use rinternals::Rinternals;

pub struct RobjRef<'a, T>(&'a T);
#[derive(Debug)]
pub struct RobjRef<'a, T>(pub &'a T);

pub struct RobjMut<'a, T>(&'a mut T);
#[derive(Debug)]
pub struct RobjMut<'a, T>(pub &'a mut T);

/// Wrapper for an R S-expression pointer (SEXP).
///
Expand Down

0 comments on commit 2a8b232

Please sign in to comment.