pub enum Lang {
C,
Cxx,
}Expand description
[package] lang.
Variants§
Implementations§
Source§impl Lang
impl Lang
Sourcepub fn default_entry(self) -> &'static str
pub fn default_entry(self) -> &'static str
The entry file a package of this language has when Cuno.toml names
none, relative to the package root as Cuno.toml writes paths
(docs/en/specs/project-layout.md).
Sourcepub fn default_edition(self) -> Edition
pub fn default_edition(self) -> Edition
The edition a package of this language gets by default.
Trait Implementations§
impl Copy for Lang
impl Eq for Lang
Source§impl Ord for Lang
impl Ord for Lang
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for Lang
impl PartialOrd for Lang
impl StructuralPartialEq for Lang
Auto Trait Implementations§
impl Forget for Lang
impl Freeze for Lang
impl Move for Lang
impl RefUnwindSafe for Lang
impl Send for Lang
impl Sync for Lang
impl Unpin for Lang
impl UnsafeUnpin for Lang
impl UnwindSafe for Lang
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