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