pub struct Writer { /* private fields */ }Expand description
A provider’s turn: the fields due, written for the rows it fills.
Implementations§
Source§impl Writer
impl Writer
Sourcepub fn scopes(&self) -> &[Vec<u8>]
pub fn scopes(&self) -> &[Vec<u8>]
What the declarations asked it to cover, each its scope type’s frame.
Sourcepub fn writing(&self, i: usize) -> bool
pub fn writing(&self, i: usize) -> bool
Whether scope i is due this turn (the others are only kept as keys).
Sourcepub fn keep_keys(&mut self, live: &[(u64, Option<u64>)])
pub fn keep_keys(&mut self, live: &[(u64, Option<u64>)])
Makes its key space’s keys live (each with its parent key): the
new ones put, the others taken — for a mod’s own key space.
Sourcepub fn wants(&self, field: usize) -> bool
pub fn wants(&self, field: usize) -> bool
Whether field field is due (someone asked for it now).
Auto Trait Implementations§
impl !Send for Writer
impl !Sync for Writer
impl Freeze for Writer
impl RefUnwindSafe for Writer
impl Unpin for Writer
impl UnsafeUnpin for Writer
impl UnwindSafe for Writer
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