Struct varcon::Entry [−][src]
pub struct Entry { pub variants: &'static [Variant], pub pos: Option<Pos>, pub archaic: bool, pub note: bool, pub description: Option<&'static str>, pub comment: Option<&'static str>, }
Fields
variants: &'static [Variant]
pos: Option<Pos>
archaic: bool
note: bool
description: Option<&'static str>
comment: Option<&'static str>
Implementations
impl Entry
[src]
impl Entry
[src]pub fn into_owned(self) -> Entry
[src]
Trait Implementations
impl Copy for Entry
[src]
impl Eq for Entry
[src]
impl StructuralEq for Entry
[src]
impl StructuralPartialEq for Entry
[src]
Auto Trait Implementations
impl RefUnwindSafe for Entry
impl Send for Entry
impl Sync for Entry
impl Unpin for Entry
impl UnwindSafe for Entry
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more