pub struct RDataObject {
pub name: String,
pub value: RExpr,
pub comment: Option<String>,
}Expand description
A data object to be emitted (e.g., saved with saveRDS or inlined).
Fields§
§name: StringVariable name
value: RExprThe expression producing the data
comment: Option<String>Optional comment
Trait Implementations§
Source§impl Clone for RDataObject
impl Clone for RDataObject
Source§fn clone(&self) -> RDataObject
fn clone(&self) -> RDataObject
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RDataObject
impl Debug for RDataObject
Source§impl PartialEq for RDataObject
impl PartialEq for RDataObject
impl StructuralPartialEq for RDataObject
Auto Trait Implementations§
impl Freeze for RDataObject
impl RefUnwindSafe for RDataObject
impl Send for RDataObject
impl Sync for RDataObject
impl Unpin for RDataObject
impl UnsafeUnpin for RDataObject
impl UnwindSafe for RDataObject
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