pub enum NotDefinedHere {}
Expand description
The name of a type which is not defined here.
This is typically used as an alias for another type, like so:
ⓘ
/// See [some::other::location](https://example.com).
type DEFINED_ELSEWHERE = crate::doc::NotDefinedHere;
This type is uninhabitable like the never
type to ensure that no one
will ever accidentally use it.
Trait Implementations§
Source§impl Debug for NotDefinedHere
impl Debug for NotDefinedHere
Auto Trait Implementations§
impl Freeze for NotDefinedHere
impl RefUnwindSafe for NotDefinedHere
impl Send for NotDefinedHere
impl Sync for NotDefinedHere
impl Unpin for NotDefinedHere
impl UnwindSafe for NotDefinedHere
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
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 0 bytes (uninhabited)