pub enum ComponentPaths {
None,
Single(String),
Multiple(Vec<String>),
}Expand description
Component paths can be a single string or array of strings
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ComponentPaths
impl Clone for ComponentPaths
Source§fn clone(&self) -> ComponentPaths
fn clone(&self) -> ComponentPaths
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 ComponentPaths
impl Debug for ComponentPaths
Source§impl Default for ComponentPaths
impl Default for ComponentPaths
Source§fn default() -> ComponentPaths
fn default() -> ComponentPaths
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ComponentPaths
impl<'de> Deserialize<'de> for ComponentPaths
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
Auto Trait Implementations§
impl Freeze for ComponentPaths
impl RefUnwindSafe for ComponentPaths
impl Send for ComponentPaths
impl Sync for ComponentPaths
impl Unpin for ComponentPaths
impl UnsafeUnpin for ComponentPaths
impl UnwindSafe for ComponentPaths
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