pub struct ApiSurfaceItem {
pub path: String,
pub class: ApiStabilityClass,
}Expand description
One registered public API surface item.
Fields§
§path: StringCrate or feature path.
class: ApiStabilityClassStability class.
Trait Implementations§
Source§impl Clone for ApiSurfaceItem
impl Clone for ApiSurfaceItem
Source§fn clone(&self) -> ApiSurfaceItem
fn clone(&self) -> ApiSurfaceItem
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 moreSource§impl Debug for ApiSurfaceItem
impl Debug for ApiSurfaceItem
Source§impl PartialEq for ApiSurfaceItem
impl PartialEq for ApiSurfaceItem
Source§fn eq(&self, other: &ApiSurfaceItem) -> bool
fn eq(&self, other: &ApiSurfaceItem) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ApiSurfaceItem
impl StructuralPartialEq for ApiSurfaceItem
Auto Trait Implementations§
impl Freeze for ApiSurfaceItem
impl RefUnwindSafe for ApiSurfaceItem
impl Send for ApiSurfaceItem
impl Sync for ApiSurfaceItem
impl Unpin for ApiSurfaceItem
impl UnsafeUnpin for ApiSurfaceItem
impl UnwindSafe for ApiSurfaceItem
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