pub struct Tuple { /* private fields */ }Implementations§
Source§impl Tuple
impl Tuple
pub fn new_wrapped(elems: Vec<AST>, store: bool) -> Arc<RwLock<Self>>
pub fn to_python_ast_node<'a>( &self, py: Python<'_>, ast_module: &'a PyModule, depth: usize, ) -> PyResult<&'a PyAny>
pub fn to_r_ast_node(&self, depth: usize) -> Robj
pub fn new(elems: Vec<AST>, store: bool) -> Self
pub fn clone_without_ancestors(&self) -> Self
pub fn set_ancestors(&mut self, ancestors: Vec<AncestorRecord>)
pub fn get_ancestors(&self) -> Option<Vec<AncestorRecord>>
pub fn elems(&self) -> Vec<AST>
pub fn store(&self) -> bool
pub fn get_direct_descendants(&self) -> Vec<AST>
Trait Implementations§
Source§impl TAssignmentTarget for Tuple
impl TAssignmentTarget for Tuple
fn as_assignment_target(&self) -> Self
fn as_wrapped_assignment_target(&self) -> Arc<RwLock<Self>>
impl Eq for Tuple
impl StructuralPartialEq for Tuple
Auto Trait Implementations§
impl Freeze for Tuple
impl RefUnwindSafe for Tuple
impl Send for Tuple
impl Sync for Tuple
impl Unpin for Tuple
impl UnwindSafe for Tuple
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