pub struct ConfigLine<T> {
pub number: i32,
pub result: T,
}
Expand description
Represents a line of the config file, the type T
will be either
a ConfigDirective
or a ParseWarning
.
Fields§
§number: i32
§result: T
Trait Implementations§
Source§impl<T: Clone> Clone for ConfigLine<T>
impl<T: Clone> Clone for ConfigLine<T>
Source§fn clone(&self) -> ConfigLine<T>
fn clone(&self) -> ConfigLine<T>
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 moreSource§impl<T: Debug> Debug for ConfigLine<T>
impl<T: Debug> Debug for ConfigLine<T>
Source§impl<T: PartialEq> PartialEq for ConfigLine<T>
impl<T: PartialEq> PartialEq for ConfigLine<T>
impl<T: Eq> Eq for ConfigLine<T>
impl<T> StructuralPartialEq for ConfigLine<T>
Auto Trait Implementations§
impl<T> Freeze for ConfigLine<T>where
T: Freeze,
impl<T> RefUnwindSafe for ConfigLine<T>where
T: RefUnwindSafe,
impl<T> Send for ConfigLine<T>where
T: Send,
impl<T> Sync for ConfigLine<T>where
T: Sync,
impl<T> Unpin for ConfigLine<T>where
T: Unpin,
impl<T> UnwindSafe for ConfigLine<T>where
T: UnwindSafe,
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