pub struct RepresentationChoice {
pub kind: RepresentationKind,
pub reason: String,
pub exact_cost: usize,
pub structural_cost: usize,
}Fields§
§kind: RepresentationKind§reason: String§exact_cost: usize§structural_cost: usizeTrait Implementations§
Source§impl Clone for RepresentationChoice
impl Clone for RepresentationChoice
Source§impl Debug for RepresentationChoice
impl Debug for RepresentationChoice
Source§impl<'de> Deserialize<'de> for RepresentationChoice
impl<'de> Deserialize<'de> for RepresentationChoice
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RepresentationChoice
Source§impl PartialEq for RepresentationChoice
impl PartialEq for RepresentationChoice
Source§impl Serialize for RepresentationChoice
impl Serialize for RepresentationChoice
impl StructuralPartialEq for RepresentationChoice
Auto Trait Implementations§
impl Freeze for RepresentationChoice
impl RefUnwindSafe for RepresentationChoice
impl Send for RepresentationChoice
impl Sync for RepresentationChoice
impl Unpin for RepresentationChoice
impl UnsafeUnpin for RepresentationChoice
impl UnwindSafe for RepresentationChoice
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