pub struct ClearancePlacementEvidence { /* private fields */ }Expand description
One exact placement witness. It does not claim exhaustive search coverage.
Implementations§
Source§impl ClearancePlacementEvidence
impl ClearancePlacementEvidence
pub fn try_new( request: PlacementRequest, frame: MetricFrame, evidence: Evidence, ) -> Result<Self, FreeSpaceError>
pub fn try_new_supported( request: PlacementRequest, frame: MetricFrame, support_evidence: CompleteSupportEvidence, evidence: Evidence, ) -> Result<Self, FreeSpaceError>
pub fn request(&self) -> &PlacementRequest
pub fn frame(&self) -> &MetricFrame
pub fn support_evidence(&self) -> Option<&CompleteSupportEvidence>
pub fn evidence(&self) -> &Evidence
Trait Implementations§
Source§impl Clone for ClearancePlacementEvidence
impl Clone for ClearancePlacementEvidence
Source§fn clone(&self) -> ClearancePlacementEvidence
fn clone(&self) -> ClearancePlacementEvidence
Returns a copy of the value. Read more
1.0.0 · 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 ClearancePlacementEvidence
impl Debug for ClearancePlacementEvidence
impl StructuralPartialEq for ClearancePlacementEvidence
Auto Trait Implementations§
impl Freeze for ClearancePlacementEvidence
impl RefUnwindSafe for ClearancePlacementEvidence
impl Send for ClearancePlacementEvidence
impl Sync for ClearancePlacementEvidence
impl Unpin for ClearancePlacementEvidence
impl UnwindSafe for ClearancePlacementEvidence
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