pub struct ExportedSubroutine {
pub name: String,
pub location: ByteSpan,
}Expand description
A same-file subroutine that can be exported by an Exporter package.
Fields§
§name: StringSubroutine name (without leading sigils).
location: ByteSpanSource location of the defining sub declaration.
Trait Implementations§
Source§impl Clone for ExportedSubroutine
impl Clone for ExportedSubroutine
Source§fn clone(&self) -> ExportedSubroutine
fn clone(&self) -> ExportedSubroutine
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 ExportedSubroutine
impl Debug for ExportedSubroutine
Source§impl PartialEq for ExportedSubroutine
impl PartialEq for ExportedSubroutine
impl Eq for ExportedSubroutine
impl StructuralPartialEq for ExportedSubroutine
Auto Trait Implementations§
impl Freeze for ExportedSubroutine
impl RefUnwindSafe for ExportedSubroutine
impl Send for ExportedSubroutine
impl Sync for ExportedSubroutine
impl Unpin for ExportedSubroutine
impl UnsafeUnpin for ExportedSubroutine
impl UnwindSafe for ExportedSubroutine
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