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: V
Trait Implementationsยง
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> 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