pub struct EndDecl {
pub name: String,
pub type_name: String,
pub uses_derived_syntax: bool,
pub name_span: Option<Span>,
pub type_ref_span: Option<Span>,
}Expand description
End declaration in interface def: end name : type ;.
Fields§
§name: String§type_name: String§uses_derived_syntax: bool§name_span: Option<Span>Span of the name (for semantic tokens).
type_ref_span: Option<Span>Span of the type after : (for semantic tokens).
Trait Implementations§
impl Eq for EndDecl
impl StructuralPartialEq for EndDecl
Auto Trait Implementations§
impl Freeze for EndDecl
impl RefUnwindSafe for EndDecl
impl Send for EndDecl
impl Sync for EndDecl
impl Unpin for EndDecl
impl UnsafeUnpin for EndDecl
impl UnwindSafe for EndDecl
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