pub struct CreateType { /* private fields */ }
Implementations§
Source§impl CreateType
impl CreateType
pub fn ty(&self) -> Option<Type>
pub fn create_token(&self) -> Option<SyntaxToken>
pub fn type_token(&self) -> Option<SyntaxToken>
Trait Implementations§
Source§impl AstNode for CreateType
impl AstNode for CreateType
fn can_cast(kind: SyntaxKind) -> bool
fn cast(syntax: SyntaxNode) -> Option<Self>
fn syntax(&self) -> &SyntaxNode
fn clone_for_update(&self) -> Selfwhere
Self: Sized,
fn clone_subtree(&self) -> Selfwhere
Self: Sized,
Source§impl Clone for CreateType
impl Clone for CreateType
Source§fn clone(&self) -> CreateType
fn clone(&self) -> CreateType
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 Debug for CreateType
impl Debug for CreateType
Source§impl From<CreateType> for Stmt
impl From<CreateType> for Stmt
Source§fn from(node: CreateType) -> Stmt
fn from(node: CreateType) -> Stmt
Converts to this type from the input type.
Source§impl Hash for CreateType
impl Hash for CreateType
Source§impl PartialEq for CreateType
impl PartialEq for CreateType
impl Eq for CreateType
impl StructuralPartialEq for CreateType
Auto Trait Implementations§
impl Freeze for CreateType
impl !RefUnwindSafe for CreateType
impl !Send for CreateType
impl !Sync for CreateType
impl Unpin for CreateType
impl !UnwindSafe for CreateType
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