pub struct AutoloadConfig { /* private fields */ }Expand description
Lightweight autoload configuration metadata.
Implementations§
Source§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§
Source§impl Clone for AutoloadConfig
impl Clone for AutoloadConfig
Source§fn clone(&self) -> AutoloadConfig
fn clone(&self) -> AutoloadConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AutoloadConfig
impl Debug for AutoloadConfig
Source§impl Default for AutoloadConfig
impl Default for AutoloadConfig
Source§fn default() -> AutoloadConfig
fn default() -> AutoloadConfig
Returns the “default value” for a type. Read more
Source§impl PartialEq for AutoloadConfig
impl PartialEq for AutoloadConfig
Source§fn eq(&self, other: &AutoloadConfig) -> bool
fn eq(&self, other: &AutoloadConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.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