pub struct WebUIDiscoveryPlugin;Expand description
Discovery for WebUI’s native component package layout.
Implementations§
Trait Implementations§
Source§impl Clone for WebUIDiscoveryPlugin
impl Clone for WebUIDiscoveryPlugin
Source§fn clone(&self) -> WebUIDiscoveryPlugin
fn clone(&self) -> WebUIDiscoveryPlugin
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 moreimpl Copy for WebUIDiscoveryPlugin
Source§impl Debug for WebUIDiscoveryPlugin
impl Debug for WebUIDiscoveryPlugin
Source§impl Default for WebUIDiscoveryPlugin
impl Default for WebUIDiscoveryPlugin
Source§fn default() -> WebUIDiscoveryPlugin
fn default() -> WebUIDiscoveryPlugin
Returns the “default value” for a type. Read more
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 package_cache_files(
&self,
package: PackageContext<'_>,
) -> Result<Vec<PathBuf>>
fn package_cache_files( &self, package: PackageContext<'_>, ) -> Result<Vec<PathBuf>>
Return every package file whose contents or existence affects discovery. Read more
Source§fn discover_package(
&self,
package: PackageContext<'_>,
) -> Result<Vec<DiscoveredComponent>>
fn discover_package( &self, package: PackageContext<'_>, ) -> Result<Vec<DiscoveredComponent>>
Discover components in a validated npm package. 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