pub struct LanguageData {
pub colors: Vec<String>,
pub entry_types: Vec<BibtexEntryTypeDoc>,
pub fields: Vec<BibtexFieldDoc>,
pub pgf_libraries: Vec<String>,
pub tikz_libraries: Vec<String>,
pub math_environments: Vec<String>,
pub enum_environments: Vec<String>,
}Fields§
§colors: Vec<String>§entry_types: Vec<BibtexEntryTypeDoc>§fields: Vec<BibtexFieldDoc>§pgf_libraries: Vec<String>§tikz_libraries: Vec<String>§math_environments: Vec<String>§enum_environments: Vec<String>Implementations§
Source§impl LanguageData
impl LanguageData
pub fn find_entry_type(&self, name: &str) -> Option<&BibtexEntryTypeDoc>
pub fn entry_type_documentation(&self, name: &str) -> Option<&str>
pub fn field_documentation(&self, name: &str) -> Option<&str>
Trait Implementations§
Source§impl Clone for LanguageData
impl Clone for LanguageData
Source§fn clone(&self) -> LanguageData
fn clone(&self) -> LanguageData
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 Debug for LanguageData
impl Debug for LanguageData
Source§impl Default for LanguageData
impl Default for LanguageData
Source§fn default() -> LanguageData
fn default() -> LanguageData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LanguageData
impl<'de> Deserialize<'de> for LanguageData
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
Source§impl PartialEq for LanguageData
impl PartialEq for LanguageData
Source§impl Serialize for LanguageData
impl Serialize for LanguageData
impl Eq for LanguageData
impl StructuralPartialEq for LanguageData
Auto Trait Implementations§
impl Freeze for LanguageData
impl RefUnwindSafe for LanguageData
impl Send for LanguageData
impl Sync for LanguageData
impl Unpin for LanguageData
impl UnwindSafe for LanguageData
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more