pub enum GoPackageVisibility {
Internal,
Public,
}Expand description
Go package visibility metadata.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for GoPackageVisibility
impl Clone for GoPackageVisibility
Source§fn clone(&self) -> GoPackageVisibility
fn clone(&self) -> GoPackageVisibility
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 GoPackageVisibility
impl Debug for GoPackageVisibility
Source§impl Display for GoPackageVisibility
impl Display for GoPackageVisibility
Source§impl FromStr for GoPackageVisibility
impl FromStr for GoPackageVisibility
Source§impl Hash for GoPackageVisibility
impl Hash for GoPackageVisibility
Source§impl Ord for GoPackageVisibility
impl Ord for GoPackageVisibility
Source§fn cmp(&self, other: &GoPackageVisibility) -> Ordering
fn cmp(&self, other: &GoPackageVisibility) -> 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 GoPackageVisibility
impl PartialEq for GoPackageVisibility
Source§fn eq(&self, other: &GoPackageVisibility) -> bool
fn eq(&self, other: &GoPackageVisibility) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for GoPackageVisibility
impl PartialOrd for GoPackageVisibility
impl Copy for GoPackageVisibility
impl Eq for GoPackageVisibility
impl StructuralPartialEq for GoPackageVisibility
Auto Trait Implementations§
impl Freeze for GoPackageVisibility
impl RefUnwindSafe for GoPackageVisibility
impl Send for GoPackageVisibility
impl Sync for GoPackageVisibility
impl Unpin for GoPackageVisibility
impl UnsafeUnpin for GoPackageVisibility
impl UnwindSafe for GoPackageVisibility
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