pub struct SemihostingConfig { /* private fields */ }Implementations§
Source§impl SemihostingConfig
impl SemihostingConfig
Sourcepub fn builder() -> SemihostingConfigBuilder
pub fn builder() -> SemihostingConfigBuilder
Create an instance of SemihostingConfig using the builder syntax
Trait Implementations§
Source§impl Arbitrary for SemihostingConfig
impl Arbitrary for SemihostingConfig
Source§type Parameters = (<Option<OnOff> as Arbitrary>::Parameters, <Option<SemihostingTarget> as Arbitrary>::Parameters, <Option<String> as Arbitrary>::Parameters, <Option<OnOff> as Arbitrary>::Parameters, <Vec<String> as Arbitrary>::Parameters)
type Parameters = (<Option<OnOff> as Arbitrary>::Parameters, <Option<SemihostingTarget> as Arbitrary>::Parameters, <Option<String> as Arbitrary>::Parameters, <Option<OnOff> as Arbitrary>::Parameters, <Vec<String> as Arbitrary>::Parameters)
The type of parameters that
arbitrary_with accepts for configuration
of the generated Strategy. Parameters must implement Default.Source§type Strategy = Map<(<Option<OnOff> as Arbitrary>::Strategy, <Option<SemihostingTarget> as Arbitrary>::Strategy, <Option<String> as Arbitrary>::Strategy, <Option<OnOff> as Arbitrary>::Strategy, <Vec<String> as Arbitrary>::Strategy), fn((Option<OnOff>, Option<SemihostingTarget>, Option<String>, Option<OnOff>, Vec<String>)) -> SemihostingConfig>
type Strategy = Map<(<Option<OnOff> as Arbitrary>::Strategy, <Option<SemihostingTarget> as Arbitrary>::Strategy, <Option<String> as Arbitrary>::Strategy, <Option<OnOff> as Arbitrary>::Strategy, <Vec<String> as Arbitrary>::Strategy), fn((Option<OnOff>, Option<SemihostingTarget>, Option<String>, Option<OnOff>, Vec<String>)) -> SemihostingConfig>
The type of
Strategy used to generate values of type Self.Source§fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
Source§impl Clone for SemihostingConfig
impl Clone for SemihostingConfig
Source§fn clone(&self) -> SemihostingConfig
fn clone(&self) -> SemihostingConfig
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 SemihostingConfig
impl Debug for SemihostingConfig
impl Eq for SemihostingConfig
Source§impl FromStr for SemihostingConfig
impl FromStr for SemihostingConfig
Source§impl Hash for SemihostingConfig
impl Hash for SemihostingConfig
Source§impl Ord for SemihostingConfig
impl Ord for SemihostingConfig
Source§fn cmp(&self, other: &SemihostingConfig) -> Ordering
fn cmp(&self, other: &SemihostingConfig) -> 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 SemihostingConfig
impl PartialEq for SemihostingConfig
Source§impl PartialOrd for SemihostingConfig
impl PartialOrd for SemihostingConfig
impl StructuralPartialEq for SemihostingConfig
Source§impl ToCommand for SemihostingConfig
impl ToCommand for SemihostingConfig
Source§fn command(&self) -> String
fn command(&self) -> String
Convert to a type suitable to pass to
std::process::Command::new()Source§fn to_args(&self) -> Vec<String>
fn to_args(&self) -> Vec<String>
Convert to a type suitable to pass to
std::process::Command::args()fn has_args(&self) -> bool
Source§fn to_command(&self) -> Vec<String>
fn to_command(&self) -> Vec<String>
Construct the full command in keep in pieces
Source§fn to_single_command(&self) -> String
fn to_single_command(&self) -> String
Construct the full command as a single
StringSource§fn to_single_arg(&self) -> String
fn to_single_arg(&self) -> String
Construct only the args as a single
StringAuto Trait Implementations§
impl Freeze for SemihostingConfig
impl RefUnwindSafe for SemihostingConfig
impl Send for SemihostingConfig
impl Sync for SemihostingConfig
impl Unpin for SemihostingConfig
impl UnsafeUnpin for SemihostingConfig
impl UnwindSafe for SemihostingConfig
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