pub struct WebUIDiscoveryPlugin;Expand description
Default discovery using component filenames and matching sibling files.
Implementations§
Trait Implementations§
Source§impl Clone for WebUIDiscoveryPlugin
impl Clone for WebUIDiscoveryPlugin
impl Copy for WebUIDiscoveryPlugin
Source§impl Debug for WebUIDiscoveryPlugin
impl Debug for WebUIDiscoveryPlugin
Source§impl Default for WebUIDiscoveryPlugin
impl Default for WebUIDiscoveryPlugin
Source§impl DiscoveryPlugin for WebUIDiscoveryPlugin
impl DiscoveryPlugin for WebUIDiscoveryPlugin
Source§fn cache_namespace(&self) -> &'static str
fn cache_namespace(&self) -> &'static str
Stable cache namespace for this discovery layout.
Source§fn discover_local(&self, root: &Path) -> Result<Vec<DiscoveredComponent>>
fn discover_local(&self, root: &Path) -> Result<Vec<DiscoveredComponent>>
Discover components below a local source root. Read more
Source§fn supports_package(&self, package: PackageContext<'_>) -> Result<bool>
fn supports_package(&self, package: PackageContext<'_>) -> Result<bool>
Whether a package declares components using this discovery layout. Read more
Source§fn prepare_package(
&self,
package: PackageContext<'_>,
) -> Result<PreparedPackage>
fn prepare_package( &self, package: PackageContext<'_>, ) -> Result<PreparedPackage>
Resolve a package’s component inventory and source choices once. Read more
Auto Trait Implementations§
impl Freeze for WebUIDiscoveryPlugin
impl RefUnwindSafe for WebUIDiscoveryPlugin
impl Send for WebUIDiscoveryPlugin
impl Sync for WebUIDiscoveryPlugin
impl Unpin for WebUIDiscoveryPlugin
impl UnsafeUnpin for WebUIDiscoveryPlugin
impl UnwindSafe for WebUIDiscoveryPlugin
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