Struct AutoloadConfig
pub struct AutoloadConfig { /* private fields */ }Expand description
Lightweight autoload configuration metadata.
Implementations§
§impl AutoloadConfig
impl AutoloadConfig
pub fn new() -> AutoloadConfig
pub fn with_psr4(self, mapping: Psr4Mapping) -> AutoloadConfig
pub fn with_classmap(self, entry: ClassmapEntry) -> AutoloadConfig
pub fn with_file(self, entry: FilesAutoloadEntry) -> AutoloadConfig
pub fn psr4(&self) -> &[Psr4Mapping]
pub fn classmap(&self) -> &[ClassmapEntry]
pub fn files(&self) -> &[FilesAutoloadEntry]
Trait Implementations§
§impl Clone for AutoloadConfig
impl Clone for AutoloadConfig
§fn clone(&self) -> AutoloadConfig
fn clone(&self) -> AutoloadConfig
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 more§impl Debug for AutoloadConfig
impl Debug for AutoloadConfig
§impl Default for AutoloadConfig
impl Default for AutoloadConfig
§fn default() -> AutoloadConfig
fn default() -> AutoloadConfig
Returns the “default value” for a type. Read more
§impl PartialEq for AutoloadConfig
impl PartialEq for AutoloadConfig
impl Eq for AutoloadConfig
impl StructuralPartialEq for AutoloadConfig
Auto Trait Implementations§
impl Freeze for AutoloadConfig
impl RefUnwindSafe for AutoloadConfig
impl Send for AutoloadConfig
impl Sync for AutoloadConfig
impl Unpin for AutoloadConfig
impl UnsafeUnpin for AutoloadConfig
impl UnwindSafe for AutoloadConfig
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