pub struct Binding<'src, V = String> {
pub constant: bool,
pub export: bool,
pub file_depth: u32,
pub name: Name<'src>,
pub private: bool,
pub value: V,
}Expand description
A binding of name to value
Fieldsยง
ยงconstant: boolยงexport: boolยงfile_depth: u32ยงname: Name<'src>ยงprivate: boolยงvalue: VTrait Implementationsยง
Sourceยงimpl<'src, V: PartialEq> PartialEq for Binding<'src, V>
impl<'src, V: PartialEq> PartialEq for Binding<'src, V>
impl<'src, V> StructuralPartialEq for Binding<'src, V>
Auto Trait Implementationsยง
impl<'src, V> Freeze for Binding<'src, V>where
V: Freeze,
impl<'src, V> RefUnwindSafe for Binding<'src, V>where
V: RefUnwindSafe,
impl<'src, V> Send for Binding<'src, V>where
V: Send,
impl<'src, V> Sync for Binding<'src, V>where
V: Sync,
impl<'src, V> Unpin for Binding<'src, V>where
V: Unpin,
impl<'src, V> UnsafeUnpin for Binding<'src, V>where
V: UnsafeUnpin,
impl<'src, V> UnwindSafe for Binding<'src, V>where
V: 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