pub struct StructEntry {
pub decl: Arc<StructDecl>,
pub exported: bool,
pub opaque: bool,
pub doc: Option<String>,
}Fields§
§decl: Arc<StructDecl>§exported: bool§opaque: boolexport opaque struct: the export carries the type’s name and its
exported methods, and no way to build or read one.
The flag is recorded here rather than derived at each use because
every consumer asks the same question of it — the type checker, which
refuses a cross-module construction or field access, and cove outline and cove api snapshot, which leave the representation out
of what they publish.
doc: Option<String>Trait Implementations§
Auto Trait Implementations§
impl Freeze for StructEntry
impl RefUnwindSafe for StructEntry
impl Send for StructEntry
impl Sync for StructEntry
impl Unpin for StructEntry
impl UnsafeUnpin for StructEntry
impl UnwindSafe for StructEntry
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