pub struct GeneralizationResult {
pub result: Option<TypeId>,
pub was_replaced_by_generic: bool,
pub resource_limits_exceeded: bool,
}Fields§
§result: Option<TypeId>§was_replaced_by_generic: bool§resource_limits_exceeded: boolTrait Implementations§
Source§impl Clone for GeneralizationResult
impl Clone for GeneralizationResult
Source§fn clone(&self) -> GeneralizationResult
fn clone(&self) -> GeneralizationResult
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 GeneralizationResult
impl Debug for GeneralizationResult
impl Eq for GeneralizationResult
Source§impl Hash for GeneralizationResult
impl Hash for GeneralizationResult
Source§impl PartialEq for GeneralizationResult
impl PartialEq for GeneralizationResult
Source§fn eq(&self, other: &GeneralizationResult) -> bool
fn eq(&self, other: &GeneralizationResult) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Send for GeneralizationResult
impl StructuralPartialEq for GeneralizationResult
impl Sync for GeneralizationResult
Auto Trait Implementations§
impl Freeze for GeneralizationResult
impl RefUnwindSafe for GeneralizationResult
impl Unpin for GeneralizationResult
impl UnsafeUnpin for GeneralizationResult
impl UnwindSafe for GeneralizationResult
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