Struct dinghy_lib::platform::regular_platform::RegularPlatform
source · pub struct RegularPlatform {
pub configuration: PlatformConfiguration,
pub id: String,
pub toolchain: ToolchainConfig,
}
Fields§
§configuration: PlatformConfiguration
§id: String
§toolchain: ToolchainConfig
Implementations§
Trait Implementations§
source§impl Debug for RegularPlatform
impl Debug for RegularPlatform
source§impl Display for RegularPlatform
impl Display for RegularPlatform
source§impl Platform for RegularPlatform
impl Platform for RegularPlatform
fn setup_env(&self, project: &Project, setup_args: &SetupArgs) -> Result<()>
fn id(&self) -> String
fn is_compatible_with(&self, device: &dyn Device) -> bool
fn is_host(&self) -> bool
fn rustc_triple(&self) -> &str
fn strip(&self, build: &mut Build) -> Result<()>
fn sysroot(&self) -> Result<Option<PathBuf>>
Auto Trait Implementations§
impl RefUnwindSafe for RegularPlatform
impl Send for RegularPlatform
impl Sync for RegularPlatform
impl Unpin for RegularPlatform
impl UnwindSafe for RegularPlatform
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