pub enum TransportedReach {
Enclosing,
Ancestor,
Crate,
Public,
}Expand description
The reach one stamped item carries inside the module a pattern seats it in.
A separate roster from Visibility because it answers a different question at a different coordinate: one is what the site wrote, one module out, and this is what the stamped item wears one module in.
Nothing transports to a private reach — an item that landed private inside the seat module could not be re-exported out of it, and the site’s own coordinate would name nothing.
Variants§
Enclosing
pub(super) — out of the seat module to the module the site sits in.
Ancestor
pub(in super::super) — out to the parent of the module the site sits in.
Crate
pub(crate) — absolute, and unmoved by the extra module.
Public
pub — absolute, and unmoved by the extra module.
Implementations§
Trait Implementations§
Source§impl Clone for TransportedReach
impl Clone for TransportedReach
Source§fn clone(&self) -> TransportedReach
fn clone(&self) -> TransportedReach
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TransportedReach
Source§impl Debug for TransportedReach
impl Debug for TransportedReach
impl Eq for TransportedReach
Source§impl Hash for TransportedReach
impl Hash for TransportedReach
Source§impl PartialEq for TransportedReach
impl PartialEq for TransportedReach
impl StructuralPartialEq for TransportedReach
Auto Trait Implementations§
impl Freeze for TransportedReach
impl RefUnwindSafe for TransportedReach
impl Send for TransportedReach
impl Sync for TransportedReach
impl Unpin for TransportedReach
impl UnsafeUnpin for TransportedReach
impl UnwindSafe for TransportedReach
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