pub struct DeclKindSet { /* private fields */ }Expand description
A compact encoding for small sets of declaration kinds.
Implementations§
Source§impl DeclKindSet
impl DeclKindSet
Sourcepub fn write(&self, w: &mut OleanWriter)
pub fn write(&self, w: &mut OleanWriter)
Write to a writer.
Sourcepub fn read(r: &mut OleanReader<'_>) -> Result<Self, OleanError>
pub fn read(r: &mut OleanReader<'_>) -> Result<Self, OleanError>
Read from a reader.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DeclKindSet
impl RefUnwindSafe for DeclKindSet
impl Send for DeclKindSet
impl Sync for DeclKindSet
impl Unpin for DeclKindSet
impl UnsafeUnpin for DeclKindSet
impl UnwindSafe for DeclKindSet
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