pub struct LocalName {
pub name: String,
pub attribute: Option<Attribute>,
pub span: Span,
}Expand description
One name in a local declaration, with its optional attribute.
Fields§
§name: String§attribute: Option<Attribute>Lua 5.4/5.5 <const> or <close> attribute.
span: SpanTrait Implementations§
Auto Trait Implementations§
impl Freeze for LocalName
impl RefUnwindSafe for LocalName
impl Send for LocalName
impl Sync for LocalName
impl Unpin for LocalName
impl UnsafeUnpin for LocalName
impl UnwindSafe for LocalName
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