pub struct GlobalType { /* private fields */ }Implementations§
Source§impl GlobalType
impl GlobalType
pub fn l_paren_token(&self) -> Option<SyntaxToken>
pub fn mut_keyword(&self) -> Option<SyntaxToken>
pub fn val_type(&self) -> Option<ValType>
pub fn r_paren_token(&self) -> Option<SyntaxToken>
Trait Implementations§
Source§impl AstNode for GlobalType
impl AstNode for GlobalType
Source§impl Clone for GlobalType
impl Clone for GlobalType
Source§fn clone(&self) -> GlobalType
fn clone(&self) -> GlobalType
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 GlobalType
impl Debug for GlobalType
impl Eq for GlobalType
Source§impl Hash for GlobalType
impl Hash for GlobalType
Source§impl PartialEq for GlobalType
impl PartialEq for GlobalType
impl StructuralPartialEq for GlobalType
Auto Trait Implementations§
impl !Send for GlobalType
impl !Sync for GlobalType
impl Freeze for GlobalType
impl RefUnwindSafe for GlobalType
impl Unpin for GlobalType
impl UnsafeUnpin for GlobalType
impl UnwindSafe for GlobalType
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