pub enum BoxArch {
Amd64,
Arm64,
}Expand description
Box architecture labels used for Release assets and local cache paths.
Variants§
Implementations§
Source§impl BoxArch
impl BoxArch
Sourcepub const fn target_triple(self) -> &'static str
pub const fn target_triple(self) -> &'static str
Rust target triple for Release tar.gz assets.
Sourcepub const fn cache_label(self) -> &'static str
pub const fn cache_label(self) -> &'static str
Short arch label used in cache directories.
Trait Implementations§
impl Copy for BoxArch
impl Eq for BoxArch
impl StructuralPartialEq for BoxArch
Auto Trait Implementations§
impl Freeze for BoxArch
impl RefUnwindSafe for BoxArch
impl Send for BoxArch
impl Sync for BoxArch
impl Unpin for BoxArch
impl UnsafeUnpin for BoxArch
impl UnwindSafe for BoxArch
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