pub struct PnpmWorkspace(/* private fields */);Implementations§
Source§impl PnpmWorkspace
impl PnpmWorkspace
Sourcepub fn new(input: &str) -> Result<PnpmWorkspace, PnpmTextError>
pub fn new(input: &str) -> Result<PnpmWorkspace, PnpmTextError>
Creates non-empty pnpm text metadata.
§Errors
Returns PnpmTextError::Empty when input is empty after trimming.
Trait Implementations§
Source§impl Clone for PnpmWorkspace
impl Clone for PnpmWorkspace
Source§fn clone(&self) -> PnpmWorkspace
fn clone(&self) -> PnpmWorkspace
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 PnpmWorkspace
impl Debug for PnpmWorkspace
Source§impl Hash for PnpmWorkspace
impl Hash for PnpmWorkspace
Source§impl Ord for PnpmWorkspace
impl Ord for PnpmWorkspace
Source§fn cmp(&self, other: &PnpmWorkspace) -> Ordering
fn cmp(&self, other: &PnpmWorkspace) -> Ordering
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
Source§impl PartialEq for PnpmWorkspace
impl PartialEq for PnpmWorkspace
Source§fn eq(&self, other: &PnpmWorkspace) -> bool
fn eq(&self, other: &PnpmWorkspace) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for PnpmWorkspace
impl PartialOrd for PnpmWorkspace
impl Eq for PnpmWorkspace
impl StructuralPartialEq for PnpmWorkspace
Auto Trait Implementations§
impl Freeze for PnpmWorkspace
impl RefUnwindSafe for PnpmWorkspace
impl Send for PnpmWorkspace
impl Sync for PnpmWorkspace
impl Unpin for PnpmWorkspace
impl UnsafeUnpin for PnpmWorkspace
impl UnwindSafe for PnpmWorkspace
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