pub struct ShellComponentRegistry {
pub config_path: String,
pub build: ShellComponentBuildConfig,
pub components: Vec<ShellComponent>,
}Expand description
Shell 组件注册表快照。
Fields§
§config_path: String§build: ShellComponentBuildConfig§components: Vec<ShellComponent>Trait Implementations§
Source§impl Clone for ShellComponentRegistry
impl Clone for ShellComponentRegistry
Source§fn clone(&self) -> ShellComponentRegistry
fn clone(&self) -> ShellComponentRegistry
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 ShellComponentRegistry
impl Debug for ShellComponentRegistry
Source§impl Default for ShellComponentRegistry
impl Default for ShellComponentRegistry
Source§fn default() -> ShellComponentRegistry
fn default() -> ShellComponentRegistry
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ShellComponentRegistry
impl<'de> Deserialize<'de> for ShellComponentRegistry
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ShellComponentRegistry
Source§impl PartialEq for ShellComponentRegistry
impl PartialEq for ShellComponentRegistry
Source§fn eq(&self, other: &ShellComponentRegistry) -> bool
fn eq(&self, other: &ShellComponentRegistry) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ShellComponentRegistry
impl Serialize for ShellComponentRegistry
impl StructuralPartialEq for ShellComponentRegistry
Auto Trait Implementations§
impl Freeze for ShellComponentRegistry
impl RefUnwindSafe for ShellComponentRegistry
impl Send for ShellComponentRegistry
impl Sync for ShellComponentRegistry
impl Unpin for ShellComponentRegistry
impl UnsafeUnpin for ShellComponentRegistry
impl UnwindSafe for ShellComponentRegistry
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