pub struct IdentExpression { /* private fields */ }
Implementations§
Source§impl IdentExpression
impl IdentExpression
pub fn is_simple(&self) -> bool
pub fn to_member_access_expr(self) -> PExpression
pub fn without_last(self) -> Result<IdentExpression, Box<dyn Error>>
Trait Implementations§
Source§impl Clone for IdentExpression
impl Clone for IdentExpression
Source§fn clone(&self) -> IdentExpression
fn clone(&self) -> IdentExpression
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 From<IdentExpression> for RIdentExpression
impl From<IdentExpression> for RIdentExpression
Source§fn from(value: IdentExpression) -> Self
fn from(value: IdentExpression) -> Self
Converts to this type from the input type.
Source§impl SimpleCodeGen for IdentExpression
impl SimpleCodeGen for IdentExpression
Auto Trait Implementations§
impl Freeze for IdentExpression
impl RefUnwindSafe for IdentExpression
impl Send for IdentExpression
impl Sync for IdentExpression
impl Unpin for IdentExpression
impl UnwindSafe for IdentExpression
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