pub struct WireConstantBinding {
pub macro_name: MacroName,
pub value: WireValue,
pub defined_in: Option<String>,
}Expand description
Snapshot-level record of a wire-bearing macro’s bound value (e.g.
RA_PROTO_VERSION, segment-file VERSION and MAGIC). Captured
per module declared by the project family as wire-bearing.
Fields§
§macro_name: MacroName§value: WireValue§defined_in: Option<String>Source file where the macro was -define’d. May be the module’s
own .erl, a sibling .hrl, or a transitive include.
Trait Implementations§
Source§impl Clone for WireConstantBinding
impl Clone for WireConstantBinding
Source§impl Debug for WireConstantBinding
impl Debug for WireConstantBinding
Source§impl<'de> Deserialize<'de> for WireConstantBinding
impl<'de> Deserialize<'de> for WireConstantBinding
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for WireConstantBinding
Source§impl Hash for WireConstantBinding
impl Hash for WireConstantBinding
Source§impl PartialEq for WireConstantBinding
impl PartialEq for WireConstantBinding
Source§impl Serialize for WireConstantBinding
impl Serialize for WireConstantBinding
impl StructuralPartialEq for WireConstantBinding
Auto Trait Implementations§
impl Freeze for WireConstantBinding
impl RefUnwindSafe for WireConstantBinding
impl Send for WireConstantBinding
impl Sync for WireConstantBinding
impl Unpin for WireConstantBinding
impl UnsafeUnpin for WireConstantBinding
impl UnwindSafe for WireConstantBinding
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