pub struct CastStatement {
pub target: Box<AstNode>,
pub type_name: String,
}Fields§
§target: Box<AstNode>§type_name: StringTrait Implementations§
Source§impl Clone for CastStatement
impl Clone for CastStatement
Source§fn clone(&self) -> CastStatement
fn clone(&self) -> CastStatement
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CastStatement
impl Debug for CastStatement
Source§impl PartialEq for CastStatement
impl PartialEq for CastStatement
Source§fn eq(&self, other: &CastStatement) -> bool
fn eq(&self, other: &CastStatement) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CastStatement
Auto Trait Implementations§
impl Freeze for CastStatement
impl RefUnwindSafe for CastStatement
impl Send for CastStatement
impl Sync for CastStatement
impl Unpin for CastStatement
impl UnsafeUnpin for CastStatement
impl UnwindSafe for CastStatement
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