pub enum Linkage {
External,
Private,
Public,
}
Expand description
Linkage
is the linkage for a given [Function
].
Variants§
External
An external linkage indicates that the function is written elsewhere.
Private
A private function is internal to the module and not exposed to outside modules.
Public
A public function is internal to the module but exposed to outside modules.
Trait Implementations§
impl Copy for Linkage
Auto Trait Implementations§
impl Freeze for Linkage
impl RefUnwindSafe for Linkage
impl Send for Linkage
impl Sync for Linkage
impl Unpin for Linkage
impl UnwindSafe for Linkage
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