pub struct RustOptions {
pub name: String,
pub include_tests: bool,
pub external_calls: ExternalCalls,
}Expand description
Language adapter options.
Fields§
§name: StringCodebase name, also used as the crate name when no Cargo.toml is
present.
include_tests: boolInclude #[cfg(test)] modules, #[test] functions and files under
tests/, examples/ and benches/. Off by default.
external_calls: ExternalCallsExternal call policy.
Trait Implementations§
Source§impl Clone for RustOptions
impl Clone for RustOptions
Source§impl Debug for RustOptions
impl Debug for RustOptions
Auto Trait Implementations§
impl Freeze for RustOptions
impl RefUnwindSafe for RustOptions
impl Send for RustOptions
impl Sync for RustOptions
impl Unpin for RustOptions
impl UnsafeUnpin for RustOptions
impl UnwindSafe for RustOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more