pub struct ComposerAutoloadConfig { /* private fields */ }Expand description
Composer autoload metadata without resolving paths.
Implementations§
Source§impl ComposerAutoloadConfig
impl ComposerAutoloadConfig
pub fn new() -> Self
pub fn with_psr4(self, prefix: &str, path: &str) -> Self
pub fn with_classmap(self, path: &str) -> Self
pub fn with_file(self, path: &str) -> Self
pub const fn psr4(&self) -> &BTreeMap<String, Vec<String>>
pub fn classmap(&self) -> &[String]
pub fn files(&self) -> &[String]
Trait Implementations§
Source§impl Clone for ComposerAutoloadConfig
impl Clone for ComposerAutoloadConfig
Source§fn clone(&self) -> ComposerAutoloadConfig
fn clone(&self) -> ComposerAutoloadConfig
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 ComposerAutoloadConfig
impl Debug for ComposerAutoloadConfig
Source§impl Default for ComposerAutoloadConfig
impl Default for ComposerAutoloadConfig
Source§fn default() -> ComposerAutoloadConfig
fn default() -> ComposerAutoloadConfig
Returns the “default value” for a type. Read more
Source§impl PartialEq for ComposerAutoloadConfig
impl PartialEq for ComposerAutoloadConfig
Source§fn eq(&self, other: &ComposerAutoloadConfig) -> bool
fn eq(&self, other: &ComposerAutoloadConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ComposerAutoloadConfig
impl StructuralPartialEq for ComposerAutoloadConfig
Auto Trait Implementations§
impl Freeze for ComposerAutoloadConfig
impl RefUnwindSafe for ComposerAutoloadConfig
impl Send for ComposerAutoloadConfig
impl Sync for ComposerAutoloadConfig
impl Unpin for ComposerAutoloadConfig
impl UnsafeUnpin for ComposerAutoloadConfig
impl UnwindSafe for ComposerAutoloadConfig
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