#[repr(C)]pub struct pm_comment {
pub node: pm_list_node_t,
pub location: pm_location_t,
pub type_: pm_comment_type_t,
}
Expand description
This is a node in the linked list of comments that we’ve found while parsing.
@extends pm_list_node_t
Fields§
§node: pm_list_node_t
The embedded base node.
location: pm_location_t
The location of the comment in the source.
type_: pm_comment_type_t
The type of comment that we’ve found.
Trait Implementations§
Source§impl Clone for pm_comment
impl Clone for pm_comment
Source§fn clone(&self) -> pm_comment
fn clone(&self) -> pm_comment
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 pm_comment
impl Debug for pm_comment
Source§impl Default for pm_comment
impl Default for pm_comment
impl Copy for pm_comment
Auto Trait Implementations§
impl Freeze for pm_comment
impl RefUnwindSafe for pm_comment
impl !Send for pm_comment
impl !Sync for pm_comment
impl Unpin for pm_comment
impl UnwindSafe for pm_comment
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