pub struct BringUpLedger {
pub entries: Vec<BringUpEntry>,
pub notes: Vec<String>,
}Expand description
Hardware bring-up ledger for all glasses lanes.
Fields§
§entries: Vec<BringUpEntry>One entry per hardware lane.
notes: Vec<String>Notes that apply to the full ledger.
Implementations§
Source§impl BringUpLedger
impl BringUpLedger
Sourcepub fn default_glasses() -> Self
pub fn default_glasses() -> Self
Builds the hardware-free default ledger.
Sourcepub fn entry(&self, lane: &str) -> Option<&BringUpEntry>
pub fn entry(&self, lane: &str) -> Option<&BringUpEntry>
Returns the entry for lane, if the ledger contains it.
Sourcepub fn entry_mut(&mut self, lane: &str) -> Option<&mut BringUpEntry>
pub fn entry_mut(&mut self, lane: &str) -> Option<&mut BringUpEntry>
Returns the mutable entry for lane, if the ledger contains it.
Sourcepub fn enable_lane(&self, lane: &str) -> Result<()>
pub fn enable_lane(&self, lane: &str) -> Result<()>
Enables a lane only when its verified flag is true.
Trait Implementations§
Source§impl Clone for BringUpLedger
impl Clone for BringUpLedger
Source§fn clone(&self) -> BringUpLedger
fn clone(&self) -> BringUpLedger
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 BringUpLedger
impl Debug for BringUpLedger
Source§impl PartialEq for BringUpLedger
impl PartialEq for BringUpLedger
impl StructuralPartialEq for BringUpLedger
Auto Trait Implementations§
impl Freeze for BringUpLedger
impl RefUnwindSafe for BringUpLedger
impl Send for BringUpLedger
impl Sync for BringUpLedger
impl Unpin for BringUpLedger
impl UnsafeUnpin for BringUpLedger
impl UnwindSafe for BringUpLedger
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