pub struct PreprocessorOption {
pub value: Option<String>,
pub description: Option<String>,
}Expand description
Option for a preprocessor definition
Fields§
§value: Option<String>Value of the option
description: Option<String>Description of the option
Trait Implementations§
Source§impl Debug for PreprocessorOption
impl Debug for PreprocessorOption
Source§impl Default for PreprocessorOption
impl Default for PreprocessorOption
Source§fn default() -> PreprocessorOption
fn default() -> PreprocessorOption
Returns the “default value” for a type. Read more
Source§impl PartialEq for PreprocessorOption
impl PartialEq for PreprocessorOption
Source§impl<'__input> XmlRead<'__input> for PreprocessorOption
impl<'__input> XmlRead<'__input> for PreprocessorOption
Source§impl XmlWrite for PreprocessorOption
impl XmlWrite for PreprocessorOption
impl StructuralPartialEq for PreprocessorOption
Auto Trait Implementations§
impl Freeze for PreprocessorOption
impl RefUnwindSafe for PreprocessorOption
impl Send for PreprocessorOption
impl Sync for PreprocessorOption
impl Unpin for PreprocessorOption
impl UnwindSafe for PreprocessorOption
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> 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