pub struct SimpleIdentifier { /* private fields */ }Implementations§
Source§impl SimpleIdentifier
impl SimpleIdentifier
pub fn new_wrapped(name: String) -> 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(name: String) -> 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 name(&self) -> String
pub fn get_direct_descendants(&self) -> Vec<AST>
Trait Implementations§
Source§impl Clone for SimpleIdentifier
impl Clone for SimpleIdentifier
Source§fn clone(&self) -> SimpleIdentifier
fn clone(&self) -> SimpleIdentifier
Returns a copy 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 Hash for SimpleIdentifier
impl Hash for SimpleIdentifier
Source§impl PartialEq for SimpleIdentifier
impl PartialEq for SimpleIdentifier
impl Eq for SimpleIdentifier
impl StructuralPartialEq for SimpleIdentifier
Auto Trait Implementations§
impl Freeze for SimpleIdentifier
impl RefUnwindSafe for SimpleIdentifier
impl Send for SimpleIdentifier
impl Sync for SimpleIdentifier
impl Unpin for SimpleIdentifier
impl UnwindSafe for SimpleIdentifier
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