pub struct Projection {
pub declaration: PackageDeclaration,
pub usable: bool,
}Expand description
A declaration narrowed to what a reader can use.
Fields§
§declaration: PackageDeclarationThe callables the reader could call, each tagged one’s documentation noting what limits it, and the types they reach.
usable: boolWhether the package is worth showing: some callable that needs a capability is left, or none ever needed one, as in a package of pure helpers or only types. The ungated helpers of a package whose every gated callable was removed, such as its working directory, do not count.
Trait Implementations§
Source§impl Clone for Projection
impl Clone for Projection
Auto Trait Implementations§
impl Freeze for Projection
impl RefUnwindSafe for Projection
impl Send for Projection
impl Sync for Projection
impl Unpin for Projection
impl UnsafeUnpin for Projection
impl UnwindSafe for Projection
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