#[non_exhaustive]pub struct CatalogEntryExt {
pub entry: CatalogEntry,
pub facets: Facets,
pub extends: Option<String>,
pub source_name: Option<String>,
}Expand description
A catalogue entry with its facets and its extends (CONTRACT-classes-round C2 and K9).
extends is the full name of the class a function extends (16.8): only a function extends a
class, and the store does not check that the class is stored. CatalogEntry itself is
unchanged; an entry with no facets and no extends is CatalogEntryExt::new.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.entry: CatalogEntryThe entry.
facets: FacetsIts facets; empty when it has none.
extends: Option<String>The class this function extends, when it extends one.
source_name: Option<String>The name of the entry’s source as the publisher gives it, when it gives one. Since 0.6.0.
Implementations§
Source§impl CatalogEntryExt
impl CatalogEntryExt
Sourcepub fn new(entry: CatalogEntry) -> CatalogEntryExt
pub fn new(entry: CatalogEntry) -> CatalogEntryExt
The entry with no facets and no extends.
Trait Implementations§
Source§impl Clone for CatalogEntryExt
impl Clone for CatalogEntryExt
Source§impl Debug for CatalogEntryExt
impl Debug for CatalogEntryExt
impl Eq for CatalogEntryExt
Source§impl PartialEq for CatalogEntryExt
impl PartialEq for CatalogEntryExt
impl StructuralPartialEq for CatalogEntryExt
Auto Trait Implementations§
impl Forget for CatalogEntryExt
impl Freeze for CatalogEntryExt
impl Move for CatalogEntryExt
impl RefUnwindSafe for CatalogEntryExt
impl Send for CatalogEntryExt
impl Sync for CatalogEntryExt
impl Unpin for CatalogEntryExt
impl UnsafeUnpin for CatalogEntryExt
impl UnwindSafe for CatalogEntryExt
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