pub struct RegisteredFiles { /* private fields */ }Expand description
The confirmed result of a Batch::register_files push: count
contiguous indices starting at base_index.
base_index is currently always zero, because a ring accepts at most one
registration that assigns an index – do not read its presence as evidence
that several registrations compose. It is kept rather than folded away
because it is the correct shape if that rule is ever relaxed (M10.3, D-31).
Implementations§
Source§impl RegisteredFiles
impl RegisteredFiles
Sourcepub fn get(&self, i: u32) -> Option<RegisteredFile>
pub fn get(&self, i: u32) -> Option<RegisteredFile>
The RegisteredFile for the i-th handle passed to
Batch::register_files, or None if i is out of range.
Trait Implementations§
Source§impl Clone for RegisteredFiles
impl Clone for RegisteredFiles
impl Copy for RegisteredFiles
Source§impl Debug for RegisteredFiles
impl Debug for RegisteredFiles
impl Eq for RegisteredFiles
Source§impl PartialEq for RegisteredFiles
impl PartialEq for RegisteredFiles
impl StructuralPartialEq for RegisteredFiles
Auto Trait Implementations§
impl Freeze for RegisteredFiles
impl RefUnwindSafe for RegisteredFiles
impl Send for RegisteredFiles
impl Sync for RegisteredFiles
impl Unpin for RegisteredFiles
impl UnsafeUnpin for RegisteredFiles
impl UnwindSafe for RegisteredFiles
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