pub struct UvWorkspace(/* private fields */);Implementations§
Source§impl UvWorkspace
impl UvWorkspace
Sourcepub fn new(input: &str) -> Result<UvWorkspace, UvTextError>
pub fn new(input: &str) -> Result<UvWorkspace, UvTextError>
Creates non-empty uv metadata text.
§Errors
Returns UvTextError::Empty when input is empty after trimming.
Trait Implementations§
Source§impl Clone for UvWorkspace
impl Clone for UvWorkspace
Source§fn clone(&self) -> UvWorkspace
fn clone(&self) -> UvWorkspace
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 UvWorkspace
impl Debug for UvWorkspace
Source§impl Display for UvWorkspace
impl Display for UvWorkspace
Source§impl FromStr for UvWorkspace
impl FromStr for UvWorkspace
Source§type Err = UvTextError
type Err = UvTextError
The associated error which can be returned from parsing.
Source§fn from_str(input: &str) -> Result<UvWorkspace, <UvWorkspace as FromStr>::Err>
fn from_str(input: &str) -> Result<UvWorkspace, <UvWorkspace as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for UvWorkspace
impl Hash for UvWorkspace
Source§impl Ord for UvWorkspace
impl Ord for UvWorkspace
Source§fn cmp(&self, other: &UvWorkspace) -> Ordering
fn cmp(&self, other: &UvWorkspace) -> 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 UvWorkspace
impl PartialEq for UvWorkspace
Source§fn eq(&self, other: &UvWorkspace) -> bool
fn eq(&self, other: &UvWorkspace) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for UvWorkspace
impl PartialOrd for UvWorkspace
Source§impl TryFrom<&str> for UvWorkspace
impl TryFrom<&str> for UvWorkspace
Source§type Error = UvTextError
type Error = UvTextError
The type returned in the event of a conversion error.
Source§fn try_from(
value: &str,
) -> Result<UvWorkspace, <UvWorkspace as TryFrom<&str>>::Error>
fn try_from( value: &str, ) -> Result<UvWorkspace, <UvWorkspace as TryFrom<&str>>::Error>
Performs the conversion.
impl Eq for UvWorkspace
impl StructuralPartialEq for UvWorkspace
Auto Trait Implementations§
impl Freeze for UvWorkspace
impl RefUnwindSafe for UvWorkspace
impl Send for UvWorkspace
impl Sync for UvWorkspace
impl Unpin for UvWorkspace
impl UnsafeUnpin for UvWorkspace
impl UnwindSafe for UvWorkspace
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