pub enum PackageSupport {
Enabled,
Disabled,
}Expand description
Declares whether a component supports package installation.
Variants§
Enabled
Component supports package installation.
Disabled
Component does not support packages (default).
Trait Implementations§
Source§impl Clone for PackageSupport
impl Clone for PackageSupport
Source§fn clone(&self) -> PackageSupport
fn clone(&self) -> PackageSupport
Returns a duplicate of the value. Read more
1.0.0 · 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 PackageSupport
impl Debug for PackageSupport
Source§impl Default for PackageSupport
impl Default for PackageSupport
Source§fn default() -> PackageSupport
fn default() -> PackageSupport
Returns the “default value” for a type. Read more
Source§impl PartialEq for PackageSupport
impl PartialEq for PackageSupport
impl Copy for PackageSupport
impl Eq for PackageSupport
impl StructuralPartialEq for PackageSupport
Auto Trait Implementations§
impl Freeze for PackageSupport
impl RefUnwindSafe for PackageSupport
impl Send for PackageSupport
impl Sync for PackageSupport
impl Unpin for PackageSupport
impl UnsafeUnpin for PackageSupport
impl UnwindSafe for PackageSupport
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