Struct ModuleSurface
pub(super) struct ModuleSurface {
pub(super) dotted: &'static str,
doc: Option<String>,
pub(super) members: Vec<Member>,
}Expand description
One module’s public surface, as the live interpreter reports it.
Visible to the sibling api_links generator, which needs the same symbol set
for the Python half of its map and reads it from the same live module rather
than from a second, wheel-shaped source (§7’s Needs column).
Fields§
§dotted: &'static strThe dotted module name.
doc: Option<String>The module’s own docstring, if it has one.
members: Vec<Member>Its members, in __all__ order.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ModuleSurface
impl RefUnwindSafe for ModuleSurface
impl Send for ModuleSurface
impl Sync for ModuleSurface
impl Unpin for ModuleSurface
impl UnsafeUnpin for ModuleSurface
impl UnwindSafe for ModuleSurface
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T, U> Imply<T> for U
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more