Struct UvWorkspace
pub struct UvWorkspace(/* private fields */);Implementations§
§impl UvWorkspace
impl UvWorkspace
pub 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§
§impl Clone for UvWorkspace
impl Clone for UvWorkspace
§fn clone(&self) -> UvWorkspace
fn clone(&self) -> UvWorkspace
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 more§impl Debug for UvWorkspace
impl Debug for UvWorkspace
§impl Display for UvWorkspace
impl Display for UvWorkspace
§impl FromStr for UvWorkspace
impl FromStr for UvWorkspace
§type Err = UvTextError
type Err = UvTextError
The associated error which can be returned from parsing.
§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 more§impl Hash for UvWorkspace
impl Hash for UvWorkspace
§impl Ord for UvWorkspace
impl Ord for UvWorkspace
§impl PartialEq for UvWorkspace
impl PartialEq for UvWorkspace
§impl PartialOrd for UvWorkspace
impl PartialOrd for UvWorkspace
§impl TryFrom<&str> for UvWorkspace
impl TryFrom<&str> for UvWorkspace
§type Error = UvTextError
type Error = UvTextError
The type returned in the event of a conversion error.
§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