pub struct DdOptions {
pub dbg: bool,
pub driver_kind: Option<DdOptVal<ExpectedDriverKind>>,
pub expect_target: Option<DdOptVal<Target>>,
pub beta_enabled: Option<Enabled>,
}Expand description
Template options, semantically resolved
Fields§
§dbg: bool§driver_kind: Option<DdOptVal<ExpectedDriverKind>>§expect_target: Option<DdOptVal<Target>>§beta_enabled: Option<Enabled>Implementations§
Source§impl DdOptions
impl DdOptions
pub fn parse_update( &mut self, input: ParseStream<'_>, opcontext: OpContext, ) -> Result<()>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DdOptions
impl RefUnwindSafe for DdOptions
impl !Send for DdOptions
impl !Sync for DdOptions
impl Unpin for DdOptions
impl UnwindSafe for DdOptions
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