pub struct ReturnDecl {
pub name: String,
pub type_name: String,
}Expand description
Return declaration: return name : type ;.
Fields§
§name: String§type_name: StringTrait Implementations§
Source§impl Clone for ReturnDecl
impl Clone for ReturnDecl
Source§fn clone(&self) -> ReturnDecl
fn clone(&self) -> ReturnDecl
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 ReturnDecl
impl Debug for ReturnDecl
impl Eq for ReturnDecl
Source§impl PartialEq for ReturnDecl
impl PartialEq for ReturnDecl
Source§fn eq(&self, other: &ReturnDecl) -> bool
fn eq(&self, other: &ReturnDecl) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ReturnDecl
Auto Trait Implementations§
impl Freeze for ReturnDecl
impl RefUnwindSafe for ReturnDecl
impl Send for ReturnDecl
impl Sync for ReturnDecl
impl Unpin for ReturnDecl
impl UnsafeUnpin for ReturnDecl
impl UnwindSafe for ReturnDecl
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