[][src]Trait dinghy_lib::Platform

pub trait Platform: Debug {
    fn build(&self, project: &Project, build_args: &BuildArgs) -> Result<Build>;
fn id(&self) -> String;
fn is_compatible_with(&self, device: &dyn Device) -> bool;
fn rustc_triple(&self) -> Option<&str>;
fn strip(&self, build: &Build) -> Result<()>; }

Required methods

fn build(&self, project: &Project, build_args: &BuildArgs) -> Result<Build>

fn id(&self) -> String

fn is_compatible_with(&self, device: &dyn Device) -> bool

fn rustc_triple(&self) -> Option<&str>

fn strip(&self, build: &Build) -> Result<()>

Loading content...

Trait Implementations

impl Display for dyn Platform[src]

Implementors

impl Platform for RegularPlatform[src]

Loading content...