pub struct FrameworkProfilesConfig { /* private fields */ }Implementations§
Source§impl FrameworkProfilesConfig
impl FrameworkProfilesConfig
pub fn global(&self) -> &FrameworkProfileSelection
pub fn packages(&self) -> &BTreeMap<String, FrameworkProfileSelection>
pub fn selection_for_package( &self, package_root: &str, ) -> FrameworkProfileSelection
pub fn validate_known( &self, config_file: ConfigFileKind, known_profiles: &[String], ) -> Result<(), ConfigurationFileError>
Trait Implementations§
Source§impl Clone for FrameworkProfilesConfig
impl Clone for FrameworkProfilesConfig
Source§impl Debug for FrameworkProfilesConfig
impl Debug for FrameworkProfilesConfig
Source§impl Default for FrameworkProfilesConfig
impl Default for FrameworkProfilesConfig
Source§fn default() -> FrameworkProfilesConfig
fn default() -> FrameworkProfilesConfig
Returns the “default value” for a type. Read more
impl Eq for FrameworkProfilesConfig
Source§impl PartialEq for FrameworkProfilesConfig
impl PartialEq for FrameworkProfilesConfig
impl StructuralPartialEq for FrameworkProfilesConfig
Auto Trait Implementations§
impl Forget for FrameworkProfilesConfig
impl Freeze for FrameworkProfilesConfigwhere
*const u8 is !null: Freeze,
PhantomData<String>: Freeze,
*const LeafNode<String, FrameworkProfileSelection> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, FrameworkProfileSelection)>>: Freeze,
impl Move for FrameworkProfilesConfig
impl RefUnwindSafe for FrameworkProfilesConfig
impl Send for FrameworkProfilesConfigwhere
RawVecInner: Send,
NodeRef<Owned, String, FrameworkProfileSelection, LeafOrInternal>: Send,
BoxRaw<(String, FrameworkProfileSelection)>: Send,
impl Sync for FrameworkProfilesConfigwhere
RawVecInner: Sync,
NodeRef<Owned, String, FrameworkProfileSelection, LeafOrInternal>: Sync,
BoxRaw<(String, FrameworkProfileSelection)>: Sync,
impl Unpin for FrameworkProfilesConfig
impl UnsafeUnpin for FrameworkProfilesConfigwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
*const LeafNode<String, FrameworkProfileSelection> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, FrameworkProfileSelection)>>: UnsafeUnpin,
impl UnwindSafe for FrameworkProfilesConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.