pub struct PluginSet { /* private fields */ }Expand description
The plugins and every library they bundle, checked as one unit.
Implementations§
Source§impl PluginSet
impl PluginSet
pub fn new(sources: PluginSources) -> Result<Self, PluginSetError>
pub fn apps(&self) -> &BTreeMap<ApplicationName, PluginApp>
pub fn app(&self, name: &ApplicationName) -> Option<&PluginApp>
pub fn contains_app(&self, name: &ApplicationName) -> bool
pub fn host_provided(&self) -> &BTreeSet<ApplicationName>
Sourcepub fn files(&self) -> impl Iterator<Item = (PluginFile, &SourceFile)>
pub fn files(&self) -> impl Iterator<Item = (PluginFile, &SourceFile)>
Every source file with the app it belongs to.
Trait Implementations§
Auto Trait Implementations§
impl Forget for PluginSet
impl Freeze for PluginSet
impl Move for PluginSet
impl RefUnwindSafe for PluginSet
impl Send for PluginSet
impl Sync for PluginSet
impl Unpin for PluginSet
impl UnsafeUnpin for PluginSet
impl UnwindSafe for PluginSet
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