pub struct GroupValue {
pub name: &'static str,
pub short_name: &'static str,
pub doc: Option<&'static str>,
pub available_since: Option<c_int>,
}Expand description
Metadata for a single value in a group of constants
Fields§
§name: &'static str§short_name: &'static str§doc: Option<&'static str>§available_since: Option<c_int>Trait Implementations§
Source§impl Clone for GroupValue
impl Clone for GroupValue
Source§fn clone(&self) -> GroupValue
fn clone(&self) -> GroupValue
Returns a duplicate 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 moreimpl Copy for GroupValue
Auto Trait Implementations§
impl Freeze for GroupValue
impl RefUnwindSafe for GroupValue
impl Send for GroupValue
impl Sync for GroupValue
impl Unpin for GroupValue
impl UnwindSafe for GroupValue
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