#[repr(C)]pub struct StructWithOneLineComment {
pub member_with_one_line_comment: u32,
pub member_with_many_line_comment: bool,
}
Expand description
Struct with a one-line comment.
Fields§
§member_with_one_line_comment: u32
Struct member with one-line comment.
member_with_many_line_comment: bool
Struct member with a many-line comment.
Trait Implementations§
Source§impl Clone for StructWithOneLineComment
impl Clone for StructWithOneLineComment
Source§fn clone(&self) -> StructWithOneLineComment
fn clone(&self) -> StructWithOneLineComment
Returns a copy of the value. Read more
1.0.0 · 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 StructWithOneLineComment
impl Debug for StructWithOneLineComment
Source§impl PartialEq for StructWithOneLineComment
impl PartialEq for StructWithOneLineComment
impl Copy for StructWithOneLineComment
impl Eq for StructWithOneLineComment
impl StructuralPartialEq for StructWithOneLineComment
Auto Trait Implementations§
impl Freeze for StructWithOneLineComment
impl RefUnwindSafe for StructWithOneLineComment
impl Send for StructWithOneLineComment
impl Sync for StructWithOneLineComment
impl Unpin for StructWithOneLineComment
impl UnwindSafe for StructWithOneLineComment
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)