pub struct StableStruct {
pub x: u8,
}
Expand description
Fields§
§x: u8
Implementations§
Source§impl StableStruct
impl StableStruct
Sourcepub fn unstable_method(&self)
Available on crate feature unstable-method
only.
pub fn unstable_method(&self)
unstable-method
only.An unstable method
This method is unstable
§Stability
This API is marked as unstable and is only available when the unstable-method
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
Sourcepub fn stable_method(&self)
pub fn stable_method(&self)
Trait Implementations§
Source§impl StableTrait for StableStruct
§Stability
This API was stabilized in version 1.0.0.
impl StableTrait for StableStruct
§Stability
This API was stabilized in version 1.0.0.
Source§fn stable_trait_method(&self)
fn stable_trait_method(&self)
A stable trait method Read more
Source§impl UnstableTrait for StableStruct
Available on crate feature unstable-trait
only.§Stability
This API is marked as unstable and is only available when the unstable-trait
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
impl UnstableTrait for StableStruct
Available on crate feature
unstable-trait
only.§Stability
This API is marked as unstable and is only available when the unstable-trait
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
Source§fn stable_trait_method(&self)
fn stable_trait_method(&self)
A stable trait method Read more
Auto Trait Implementations§
impl Freeze for StableStruct
impl RefUnwindSafe for StableStruct
impl Send for StableStruct
impl Sync for StableStruct
impl Unpin for StableStruct
impl UnwindSafe for StableStruct
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