#[repr(C)]pub struct DiscardStmt {
pub type_: NodeTag,
pub target: Type,
}Fields§
§type_: NodeTag§target: TypeTrait Implementations§
Source§impl Clone for DiscardStmt
impl Clone for DiscardStmt
Source§fn clone(&self) -> DiscardStmt
fn clone(&self) -> DiscardStmt
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 moreimpl Copy for DiscardStmt
Source§impl Debug for DiscardStmt
impl Debug for DiscardStmt
Source§impl Default for DiscardStmt
impl Default for DiscardStmt
Source§impl Display for DiscardStmt
impl Display for DiscardStmt
Auto Trait Implementations§
impl Freeze for DiscardStmt
impl RefUnwindSafe for DiscardStmt
impl Send for DiscardStmt
impl Sync for DiscardStmt
impl Unpin for DiscardStmt
impl UnsafeUnpin for DiscardStmt
impl UnwindSafe for DiscardStmt
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