Struct lrpar::unstable_api::InternalPublicApi
source · pub struct InternalPublicApi;
Expand description
An value that acts as a key to inform callers that they are calling an unstable internal api. This value is public by default. Access to it does not require any features to be enabled.
Q. When this should be used?
A. When generated code needs to call internal api within it, where you do not want the caller to have to enable any features to use the generated code.
Auto Trait Implementations§
impl Freeze for InternalPublicApi
impl RefUnwindSafe for InternalPublicApi
impl Send for InternalPublicApi
impl Sync for InternalPublicApi
impl Unpin for InternalPublicApi
impl UnwindSafe for InternalPublicApi
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