pub struct PassReport {
pub improved: bool,
pub cut_by_discrepancy: bool,
pub cut_by_split: bool,
}Expand description
What a finished pass tells the schedule.
Fields§
§improved: boolThe pass found a better tree than any earlier pass.
cut_by_discrepancy: boolThe discrepancy budget kept the pass from trying some feature.
cut_by_split: boolThe split budget kept the pass from trying some split point.
Trait Implementations§
Source§impl Clone for PassReport
impl Clone for PassReport
Source§fn clone(&self) -> PassReport
fn clone(&self) -> PassReport
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 moreimpl Copy for PassReport
Source§impl Debug for PassReport
impl Debug for PassReport
Source§impl Default for PassReport
impl Default for PassReport
Source§fn default() -> PassReport
fn default() -> PassReport
Returns the “default value” for a type. Read more
impl Eq for PassReport
Source§impl PartialEq for PassReport
impl PartialEq for PassReport
Source§fn eq(&self, other: &PassReport) -> bool
fn eq(&self, other: &PassReport) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PassReport
Auto Trait Implementations§
impl Freeze for PassReport
impl RefUnwindSafe for PassReport
impl Send for PassReport
impl Sync for PassReport
impl Unpin for PassReport
impl UnsafeUnpin for PassReport
impl UnwindSafe for PassReport
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