Enum GoPackageLayout
pub enum GoPackageLayout {
SinglePackage,
MultiPackage,
InternalPackage,
CmdPackage,
}Expand description
Go package layout metadata.
Variants§
Implementations§
§impl GoPackageLayout
impl GoPackageLayout
Trait Implementations§
§impl Clone for GoPackageLayout
impl Clone for GoPackageLayout
§fn clone(&self) -> GoPackageLayout
fn clone(&self) -> GoPackageLayout
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 GoPackageLayout
impl Debug for GoPackageLayout
§impl Display for GoPackageLayout
impl Display for GoPackageLayout
§impl FromStr for GoPackageLayout
impl FromStr for GoPackageLayout
§type Err = GoPackageError
type Err = GoPackageError
The associated error which can be returned from parsing.
§fn from_str(
value: &str,
) -> Result<GoPackageLayout, <GoPackageLayout as FromStr>::Err>
fn from_str( value: &str, ) -> Result<GoPackageLayout, <GoPackageLayout as FromStr>::Err>
Parses a string
s to return a value of this type. Read more§impl Hash for GoPackageLayout
impl Hash for GoPackageLayout
§impl Ord for GoPackageLayout
impl Ord for GoPackageLayout
§impl PartialEq for GoPackageLayout
impl PartialEq for GoPackageLayout
§impl PartialOrd for GoPackageLayout
impl PartialOrd for GoPackageLayout
impl Copy for GoPackageLayout
impl Eq for GoPackageLayout
impl StructuralPartialEq for GoPackageLayout
Auto Trait Implementations§
impl Freeze for GoPackageLayout
impl RefUnwindSafe for GoPackageLayout
impl Send for GoPackageLayout
impl Sync for GoPackageLayout
impl Unpin for GoPackageLayout
impl UnsafeUnpin for GoPackageLayout
impl UnwindSafe for GoPackageLayout
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