pub struct DeploymentDef { /* private fields */ }Expand description
A DeploymentDef node (family.ungram rule DeploymentDef).
Implementations§
Source§impl DeploymentDef
impl DeploymentDef
pub fn name(&self) -> Option<Name>
pub fn system(&self) -> Option<Reference>
pub fn attr_block(&self) -> Option<AttrBlock>
pub fn machines(&self) -> AstChildren<MachineDef> ⓘ
pub fn deployment_token(&self) -> Option<SyntaxToken>
pub fn for_token(&self) -> Option<SyntaxToken>
pub fn l_brace_token(&self) -> Option<SyntaxToken>
pub fn comma_token(&self) -> Option<SyntaxToken>
pub fn r_brace_token(&self) -> Option<SyntaxToken>
Trait Implementations§
Source§impl AstNode for DeploymentDef
impl AstNode for DeploymentDef
Source§fn cast(syntax: SyntaxNode) -> Option<Self>
fn cast(syntax: SyntaxNode) -> Option<Self>
Wraps
syntax if its kind matches this type; None otherwise.Source§fn syntax(&self) -> &SyntaxNode
fn syntax(&self) -> &SyntaxNode
The underlying untyped node.
Source§impl Clone for DeploymentDef
impl Clone for DeploymentDef
Source§impl Debug for DeploymentDef
impl Debug for DeploymentDef
impl Eq for DeploymentDef
Source§impl HasDocComments for DeploymentDef
impl HasDocComments for DeploymentDef
Source§fn doc_comments(&self) -> Vec<SyntaxToken> ⓘ
fn doc_comments(&self) -> Vec<SyntaxToken> ⓘ
The
DocComment tokens in the trivia run immediately preceding
this node, in source order.Source§impl HasName for DeploymentDef
impl HasName for DeploymentDef
Source§impl Hash for DeploymentDef
impl Hash for DeploymentDef
Source§impl PartialEq for DeploymentDef
impl PartialEq for DeploymentDef
impl StructuralPartialEq for DeploymentDef
Auto Trait Implementations§
impl !RefUnwindSafe for DeploymentDef
impl !Send for DeploymentDef
impl !Sync for DeploymentDef
impl !UnwindSafe for DeploymentDef
impl Freeze for DeploymentDef
impl Unpin for DeploymentDef
impl UnsafeUnpin for DeploymentDef
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