pub struct UnstableStruct {
pub x: u8,
}Available on crate feature
unstable-struct only.Expand description
An unstable struct
This struct is unstable
§Stability
This API is marked as unstable and is only available when the unstable-struct
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
Fields§
§x: u8Implementations§
Source§impl UnstableStruct
impl UnstableStruct
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)
Auto Trait Implementations§
impl Freeze for UnstableStruct
impl RefUnwindSafe for UnstableStruct
impl Send for UnstableStruct
impl Sync for UnstableStruct
impl Unpin for UnstableStruct
impl UnsafeUnpin for UnstableStruct
impl UnwindSafe for UnstableStruct
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