pub enum GoPackageLayout {
SinglePackage,
MultiPackage,
InternalPackage,
CmdPackage,
}Expand description
Go package layout metadata.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for GoPackageLayout
impl Clone for GoPackageLayout
Source§fn clone(&self) -> GoPackageLayout
fn clone(&self) -> GoPackageLayout
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 GoPackageLayout
impl Debug for GoPackageLayout
Source§impl Display for GoPackageLayout
impl Display for GoPackageLayout
Source§impl FromStr for GoPackageLayout
impl FromStr for GoPackageLayout
Source§impl Hash for GoPackageLayout
impl Hash for GoPackageLayout
Source§impl Ord for GoPackageLayout
impl Ord for GoPackageLayout
Source§fn cmp(&self, other: &GoPackageLayout) -> Ordering
fn cmp(&self, other: &GoPackageLayout) -> 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 GoPackageLayout
impl PartialEq for GoPackageLayout
Source§fn eq(&self, other: &GoPackageLayout) -> bool
fn eq(&self, other: &GoPackageLayout) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§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