pub struct FromServer { /* private fields */ }Implementations§
Source§impl FromServer
impl FromServer
pub fn name_ref(&self) -> Option<NameRef>
pub fn from_token(&self) -> Option<SyntaxToken>
pub fn server_token(&self) -> Option<SyntaxToken>
Trait Implementations§
Source§impl AstNode for FromServer
impl AstNode for FromServer
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 FromServer
impl Clone for FromServer
Source§fn clone(&self) -> FromServer
fn clone(&self) -> FromServer
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 FromServer
impl Debug for FromServer
Source§impl Hash for FromServer
impl Hash for FromServer
Source§impl PartialEq for FromServer
impl PartialEq for FromServer
impl Eq for FromServer
impl StructuralPartialEq for FromServer
Auto Trait Implementations§
impl Freeze for FromServer
impl !RefUnwindSafe for FromServer
impl !Send for FromServer
impl !Sync for FromServer
impl Unpin for FromServer
impl !UnwindSafe for FromServer
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