Struct syntect::parsing::syntax_definition::LinkerLink
[−]
[src]
pub struct LinkerLink { pub link: Weak<RefCell<Context>>, }
This wrapper only exists so that I can implement a serialization trait that crashes if you try and serialize this.
Fields
link: Weak<RefCell<Context>>
Trait Implementations
impl Debug for LinkerLink
[src]
impl Eq for LinkerLink
[src]
impl PartialEq for LinkerLink
[src]
fn eq(&self, other: &LinkerLink) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Serialize for LinkerLink
[src]
Just panics, we can't do anything with linked up syntaxes
fn serialize<S>(&self, _: S) -> Result<S::Ok, S::Error> where
S: Serializer,
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl<'de> Deserialize<'de> for LinkerLink
[src]
Just panics, we can't do anything with linked up syntaxes
fn deserialize<D>(_: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more