Struct derive_more::display::ParseResult
source · struct ParseResult {
arms: TokenStream,
bounds: HashMap<Type, HashSet<TraitBound, DeterministicState>, DeterministicState>,
requires_helper: bool,
}
Expand description
Result type of State::get_match_arms_and_extra_bounds()
.
Fields§
§arms: TokenStream
The match arms destructuring self
.
bounds: HashMap<Type, HashSet<TraitBound, DeterministicState>, DeterministicState>
Any trait bounds that may be required.
requires_helper: bool
true
if the Display impl requires the DisplayAs
helper struct.
Trait Implementations§
source§impl Default for ParseResult
impl Default for ParseResult
source§fn default() -> ParseResult
fn default() -> ParseResult
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for ParseResult
impl !Send for ParseResult
impl !Sync for ParseResult
impl Unpin for ParseResult
impl UnwindSafe for ParseResult
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