pub struct Family(/* private fields */);Expand description
Ecosystem family. Decides the grouping headers of the host’s plugin ls, the scope of
plugin set, and the key names of [plugin] <family> = "..." in a project’s .pmpx.toml.
An open type rather than a closed enum: known ecosystems have constants, unknown ones extend
via Family::new, and comparison and ordering go by string – a third-party plugin
supporting a new ecosystem needs neither a change to this crate nor a host release.
Implementations§
Trait Implementations§
impl Eq for Family
Source§impl Ord for Family
impl Ord for Family
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for Family
impl PartialOrd for Family
impl StructuralPartialEq for Family
Auto Trait Implementations§
impl Freeze for Family
impl RefUnwindSafe for Family
impl Send for Family
impl Sync for Family
impl Unpin for Family
impl UnsafeUnpin for Family
impl UnwindSafe for Family
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