pub struct Name {
pub parts: Box<[Box<str>]>,
pub kind: NameKind,
pub span: Span,
}Expand description
A possibly qualified PHP name.
Fields§
§parts: Box<[Box<str>]>Name segments split on \.
kind: NameKindQualification style.
span: SpanSource span.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Name
impl RefUnwindSafe for Name
impl Send for Name
impl Sync for Name
impl Unpin for Name
impl UnsafeUnpin for Name
impl UnwindSafe for Name
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