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