From 865ccf0e94a8772c2b0785f08a70b3e82b58e291 Mon Sep 17 00:00:00 2001 From: Martin Nordholts Date: Wed, 29 Nov 2023 15:32:54 +0100 Subject: [PATCH] tests: Upgrade to public-api 0.33.1 Which has a bugfix for a bugfix (https://github.com/Enselic/cargo-public-api/pull/518). --- Cargo.toml | 2 +- tests/public-api.txt | 294 +++++++++++++++++++++---------------------- 2 files changed, 148 insertions(+), 148 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index e827364..691542d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -41,7 +41,7 @@ getopts = "0.2" pretty_assertions = "0.6" rustup-toolchain = "0.1.5" rustdoc-json = "0.8.8" -public-api = "0.33.0" +public-api = "0.33.1" expect-test = "1.4.1" [features] diff --git a/tests/public-api.txt b/tests/public-api.txt index 6bfac5f..842fa2e 100644 --- a/tests/public-api.txt +++ b/tests/public-api.txt @@ -31,10 +31,10 @@ impl<'a> core::marker::Unpin for syntect::easy::HighlightLines<'a> impl<'a> core::panic::unwind_safe::RefUnwindSafe for syntect::easy::HighlightLines<'a> impl<'a> core::panic::unwind_safe::UnwindSafe for syntect::easy::HighlightLines<'a> pub struct syntect::easy::ScopeRangeIterator<'a> -impl<'a> core::fmt::Debug for syntect::easy::ScopeRangeIterator<'a> -pub fn syntect::easy::ScopeRangeIterator<'a>::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result impl<'a> syntect::easy::ScopeRangeIterator<'a> pub fn syntect::easy::ScopeRangeIterator<'a>::new(ops: &'a [(usize, syntect::parsing::ScopeStackOp)], line: &'a str) -> syntect::easy::ScopeRangeIterator<'a> +impl<'a> core::fmt::Debug for syntect::easy::ScopeRangeIterator<'a> +pub fn syntect::easy::ScopeRangeIterator<'a>::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result impl<'a> core::iter::traits::iterator::Iterator for syntect::easy::ScopeRangeIterator<'a> pub type syntect::easy::ScopeRangeIterator<'a>::Item = (core::ops::range::Range, &'a syntect::parsing::ScopeStackOp) pub fn syntect::easy::ScopeRangeIterator<'a>::next(&mut self) -> core::option::Option @@ -44,10 +44,10 @@ impl<'a> core::marker::Unpin for syntect::easy::ScopeRangeIterator<'a> impl<'a> core::panic::unwind_safe::RefUnwindSafe for syntect::easy::ScopeRangeIterator<'a> impl<'a> core::panic::unwind_safe::UnwindSafe for syntect::easy::ScopeRangeIterator<'a> pub struct syntect::easy::ScopeRegionIterator<'a> -impl<'a> core::fmt::Debug for syntect::easy::ScopeRegionIterator<'a> -pub fn syntect::easy::ScopeRegionIterator<'a>::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result impl<'a> syntect::easy::ScopeRegionIterator<'a> pub fn syntect::easy::ScopeRegionIterator<'a>::new(ops: &'a [(usize, syntect::parsing::ScopeStackOp)], line: &'a str) -> syntect::easy::ScopeRegionIterator<'a> +impl<'a> core::fmt::Debug for syntect::easy::ScopeRegionIterator<'a> +pub fn syntect::easy::ScopeRegionIterator<'a>::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result impl<'a> core::iter::traits::iterator::Iterator for syntect::easy::ScopeRegionIterator<'a> pub type syntect::easy::ScopeRegionIterator<'a>::Item = (&'a str, &'a syntect::parsing::ScopeStackOp) pub fn syntect::easy::ScopeRegionIterator<'a>::next(&mut self) -> core::option::Option @@ -70,14 +70,14 @@ pub syntect::highlighting::ParseThemeError::ScopeParse(syntect::parsing::ParseSc pub syntect::highlighting::ParseThemeError::ScopeSelectorIsNotString(alloc::string::String) pub syntect::highlighting::ParseThemeError::UndefinedScopeSettings(alloc::string::String) pub syntect::highlighting::ParseThemeError::UndefinedSettings -impl core::fmt::Debug for syntect::highlighting::ParseThemeError -pub fn syntect::highlighting::ParseThemeError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result impl core::convert::From for syntect::LoadingError pub fn syntect::LoadingError::from(source: syntect::highlighting::ParseThemeError) -> Self impl core::convert::From for syntect::highlighting::ParseThemeError pub fn syntect::highlighting::ParseThemeError::from(source: syntect::parsing::ParseScopeError) -> Self impl core::error::Error for syntect::highlighting::ParseThemeError pub fn syntect::highlighting::ParseThemeError::source(&self) -> core::option::Option<&(dyn core::error::Error + 'static)> +impl core::fmt::Debug for syntect::highlighting::ParseThemeError +pub fn syntect::highlighting::ParseThemeError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result impl core::fmt::Display for syntect::highlighting::ParseThemeError pub fn syntect::highlighting::ParseThemeError::fmt(&self, __formatter: &mut core::fmt::Formatter<'_>) -> core::fmt::Result impl core::marker::Send for syntect::highlighting::ParseThemeError @@ -87,13 +87,13 @@ impl core::panic::unwind_safe::RefUnwindSafe for syntect::highlighting::ParseThe impl core::panic::unwind_safe::UnwindSafe for syntect::highlighting::ParseThemeError #[non_exhaustive] pub enum syntect::highlighting::SettingsError pub syntect::highlighting::SettingsError::Plist(plist::error::Error) -impl core::fmt::Debug for syntect::highlighting::SettingsError -pub fn syntect::highlighting::SettingsError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result impl core::convert::From for syntect::highlighting::SettingsError pub fn syntect::highlighting::SettingsError::from(error: plist::error::Error) -> syntect::highlighting::SettingsError impl core::convert::From for syntect::LoadingError pub fn syntect::LoadingError::from(source: syntect::highlighting::SettingsError) -> Self impl core::error::Error for syntect::highlighting::SettingsError +impl core::fmt::Debug for syntect::highlighting::SettingsError +pub fn syntect::highlighting::SettingsError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result impl core::fmt::Display for syntect::highlighting::SettingsError pub fn syntect::highlighting::SettingsError::fmt(&self, __formatter: &mut core::fmt::Formatter<'_>) -> core::fmt::Result impl core::marker::Send for syntect::highlighting::SettingsError @@ -110,18 +110,18 @@ impl core::clone::Clone for syntect::highlighting::UnderlineOption pub fn syntect::highlighting::UnderlineOption::clone(&self) -> syntect::highlighting::UnderlineOption impl core::cmp::PartialEq for syntect::highlighting::UnderlineOption pub fn syntect::highlighting::UnderlineOption::eq(&self, other: &syntect::highlighting::UnderlineOption) -> bool +impl core::default::Default for syntect::highlighting::UnderlineOption +pub fn syntect::highlighting::UnderlineOption::default() -> syntect::highlighting::UnderlineOption impl core::fmt::Debug for syntect::highlighting::UnderlineOption pub fn syntect::highlighting::UnderlineOption::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result impl core::marker::StructuralPartialEq for syntect::highlighting::UnderlineOption +impl core::str::traits::FromStr for syntect::highlighting::UnderlineOption +pub type syntect::highlighting::UnderlineOption::Err = syntect::highlighting::ParseThemeError +pub fn syntect::highlighting::UnderlineOption::from_str(s: &str) -> core::result::Result impl serde::ser::Serialize for syntect::highlighting::UnderlineOption pub fn syntect::highlighting::UnderlineOption::serialize<__S>(&self, __serializer: __S) -> core::result::Result<<__S as serde::ser::Serializer>::Ok, <__S as serde::ser::Serializer>::Error> where __S: serde::ser::Serializer impl<'de> serde::de::Deserialize<'de> for syntect::highlighting::UnderlineOption pub fn syntect::highlighting::UnderlineOption::deserialize<__D>(__deserializer: __D) -> core::result::Result::Error> where __D: serde::de::Deserializer<'de> -impl core::default::Default for syntect::highlighting::UnderlineOption -pub fn syntect::highlighting::UnderlineOption::default() -> syntect::highlighting::UnderlineOption -impl core::str::traits::FromStr for syntect::highlighting::UnderlineOption -pub type syntect::highlighting::UnderlineOption::Err = syntect::highlighting::ParseThemeError -pub fn syntect::highlighting::UnderlineOption::from_str(s: &str) -> core::result::Result impl core::marker::Send for syntect::highlighting::UnderlineOption impl core::marker::Sync for syntect::highlighting::UnderlineOption impl core::marker::Unpin for syntect::highlighting::UnderlineOption @@ -132,48 +132,34 @@ pub syntect::highlighting::Color::a: u8 pub syntect::highlighting::Color::b: u8 pub syntect::highlighting::Color::g: u8 pub syntect::highlighting::Color::r: u8 +impl syntect::highlighting::Color +pub const syntect::highlighting::Color::BLACK: syntect::highlighting::Color +pub const syntect::highlighting::Color::WHITE: syntect::highlighting::Color impl core::clone::Clone for syntect::highlighting::Color pub fn syntect::highlighting::Color::clone(&self) -> syntect::highlighting::Color impl core::cmp::Eq for syntect::highlighting::Color impl core::cmp::PartialEq for syntect::highlighting::Color pub fn syntect::highlighting::Color::eq(&self, other: &syntect::highlighting::Color) -> bool +impl core::fmt::Debug for syntect::highlighting::Color +pub fn syntect::highlighting::Color::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result impl core::hash::Hash for syntect::highlighting::Color pub fn syntect::highlighting::Color::hash<__H: core::hash::Hasher>(&self, state: &mut __H) impl core::marker::Copy for syntect::highlighting::Color impl core::marker::StructuralEq for syntect::highlighting::Color impl core::marker::StructuralPartialEq for syntect::highlighting::Color +impl core::str::traits::FromStr for syntect::highlighting::Color +pub type syntect::highlighting::Color::Err = syntect::highlighting::ParseThemeError +pub fn syntect::highlighting::Color::from_str(s: &str) -> core::result::Result impl serde::ser::Serialize for syntect::highlighting::Color pub fn syntect::highlighting::Color::serialize<__S>(&self, __serializer: __S) -> core::result::Result<<__S as serde::ser::Serializer>::Ok, <__S as serde::ser::Serializer>::Error> where __S: serde::ser::Serializer -impl syntect::highlighting::Color -pub const syntect::highlighting::Color::BLACK: syntect::highlighting::Color -pub const syntect::highlighting::Color::WHITE: syntect::highlighting::Color impl<'de> serde::de::Deserialize<'de> for syntect::highlighting::Color pub fn syntect::highlighting::Color::deserialize<__D>(__deserializer: __D) -> core::result::Result::Error> where __D: serde::de::Deserializer<'de> -impl core::fmt::Debug for syntect::highlighting::Color -pub fn syntect::highlighting::Color::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result -impl core::str::traits::FromStr for syntect::highlighting::Color -pub type syntect::highlighting::Color::Err = syntect::highlighting::ParseThemeError -pub fn syntect::highlighting::Color::from_str(s: &str) -> core::result::Result impl core::marker::Send for syntect::highlighting::Color impl core::marker::Sync for syntect::highlighting::Color impl core::marker::Unpin for syntect::highlighting::Color impl core::panic::unwind_safe::RefUnwindSafe for syntect::highlighting::Color impl core::panic::unwind_safe::UnwindSafe for syntect::highlighting::Color pub struct syntect::highlighting::FontStyle(_) -impl core::clone::Clone for syntect::highlighting::FontStyle -pub fn syntect::highlighting::FontStyle::clone(&self) -> syntect::highlighting::FontStyle -impl core::cmp::Eq for syntect::highlighting::FontStyle -impl core::cmp::PartialEq for syntect::highlighting::FontStyle -pub fn syntect::highlighting::FontStyle::eq(&self, other: &syntect::highlighting::FontStyle) -> bool -impl core::fmt::Debug for syntect::highlighting::FontStyle -pub fn syntect::highlighting::FontStyle::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result -impl core::hash::Hash for syntect::highlighting::FontStyle -pub fn syntect::highlighting::FontStyle::hash<__H: core::hash::Hasher>(&self, state: &mut __H) -impl core::marker::Copy for syntect::highlighting::FontStyle -impl core::marker::StructuralEq for syntect::highlighting::FontStyle -impl core::marker::StructuralPartialEq for syntect::highlighting::FontStyle -impl serde::ser::Serialize for syntect::highlighting::FontStyle -pub fn syntect::highlighting::FontStyle::serialize<__S>(&self, __serializer: __S) -> core::result::Result<<__S as serde::ser::Serializer>::Ok, <__S as serde::ser::Serializer>::Error> where __S: serde::ser::Serializer impl syntect::highlighting::FontStyle pub const syntect::highlighting::FontStyle::BOLD: Self pub const syntect::highlighting::FontStyle::ITALIC: Self @@ -202,8 +188,6 @@ pub const fn syntect::highlighting::FontStyle::union(self, other: Self) -> Self impl syntect::highlighting::FontStyle pub const fn syntect::highlighting::FontStyle::iter(&self) -> bitflags::iter::Iter pub const fn syntect::highlighting::FontStyle::iter_names(&self) -> bitflags::iter::IterNames -impl<'de> serde::de::Deserialize<'de> for syntect::highlighting::FontStyle -pub fn syntect::highlighting::FontStyle::deserialize<__D>(__deserializer: __D) -> core::result::Result::Error> where __D: serde::de::Deserializer<'de> impl bitflags::traits::Flags for syntect::highlighting::FontStyle pub type syntect::highlighting::FontStyle::Bits = u8 pub const syntect::highlighting::FontStyle::FLAGS: &'static [bitflags::traits::Flag] @@ -212,16 +196,25 @@ pub fn syntect::highlighting::FontStyle::from_bits_retain(bits: u8) -> syntect:: impl bitflags::traits::PublicFlags for syntect::highlighting::FontStyle pub type syntect::highlighting::FontStyle::Internal = InternalBitFlags pub type syntect::highlighting::FontStyle::Primitive = u8 +impl core::clone::Clone for syntect::highlighting::FontStyle +pub fn syntect::highlighting::FontStyle::clone(&self) -> syntect::highlighting::FontStyle +impl core::cmp::Eq for syntect::highlighting::FontStyle +impl core::cmp::PartialEq for syntect::highlighting::FontStyle +pub fn syntect::highlighting::FontStyle::eq(&self, other: &syntect::highlighting::FontStyle) -> bool impl core::default::Default for syntect::highlighting::FontStyle pub fn syntect::highlighting::FontStyle::default() -> syntect::highlighting::FontStyle impl core::fmt::Binary for syntect::highlighting::FontStyle pub fn syntect::highlighting::FontStyle::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result +impl core::fmt::Debug for syntect::highlighting::FontStyle +pub fn syntect::highlighting::FontStyle::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result impl core::fmt::LowerHex for syntect::highlighting::FontStyle pub fn syntect::highlighting::FontStyle::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result impl core::fmt::Octal for syntect::highlighting::FontStyle pub fn syntect::highlighting::FontStyle::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result impl core::fmt::UpperHex for syntect::highlighting::FontStyle pub fn syntect::highlighting::FontStyle::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result +impl core::hash::Hash for syntect::highlighting::FontStyle +pub fn syntect::highlighting::FontStyle::hash<__H: core::hash::Hasher>(&self, state: &mut __H) impl core::iter::traits::collect::Extend for syntect::highlighting::FontStyle pub fn syntect::highlighting::FontStyle::extend>(&mut self, iterator: T) impl core::iter::traits::collect::FromIterator for syntect::highlighting::FontStyle @@ -230,6 +223,9 @@ impl core::iter::traits::collect::IntoIterator for syntect::highlighting::FontSt pub type syntect::highlighting::FontStyle::IntoIter = bitflags::iter::Iter pub type syntect::highlighting::FontStyle::Item = syntect::highlighting::FontStyle pub fn syntect::highlighting::FontStyle::into_iter(self) -> Self::IntoIter +impl core::marker::Copy for syntect::highlighting::FontStyle +impl core::marker::StructuralEq for syntect::highlighting::FontStyle +impl core::marker::StructuralPartialEq for syntect::highlighting::FontStyle impl core::ops::arith::Sub for syntect::highlighting::FontStyle pub type syntect::highlighting::FontStyle::Output = syntect::highlighting::FontStyle pub fn syntect::highlighting::FontStyle::sub(self, other: Self) -> Self @@ -256,16 +252,20 @@ pub fn syntect::highlighting::FontStyle::not(self) -> Self impl core::str::traits::FromStr for syntect::highlighting::FontStyle pub type syntect::highlighting::FontStyle::Err = syntect::highlighting::ParseThemeError pub fn syntect::highlighting::FontStyle::from_str(s: &str) -> core::result::Result +impl serde::ser::Serialize for syntect::highlighting::FontStyle +pub fn syntect::highlighting::FontStyle::serialize<__S>(&self, __serializer: __S) -> core::result::Result<<__S as serde::ser::Serializer>::Ok, <__S as serde::ser::Serializer>::Error> where __S: serde::ser::Serializer +impl<'de> serde::de::Deserialize<'de> for syntect::highlighting::FontStyle +pub fn syntect::highlighting::FontStyle::deserialize<__D>(__deserializer: __D) -> core::result::Result::Error> where __D: serde::de::Deserializer<'de> impl core::marker::Send for syntect::highlighting::FontStyle impl core::marker::Sync for syntect::highlighting::FontStyle impl core::marker::Unpin for syntect::highlighting::FontStyle impl core::panic::unwind_safe::RefUnwindSafe for syntect::highlighting::FontStyle impl core::panic::unwind_safe::UnwindSafe for syntect::highlighting::FontStyle pub struct syntect::highlighting::HighlightIterator<'a, 'b> -impl<'a, 'b> core::fmt::Debug for syntect::highlighting::HighlightIterator<'a, 'b> -pub fn syntect::highlighting::HighlightIterator<'a, 'b>::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result impl<'a, 'b> syntect::highlighting::HighlightIterator<'a, 'b> pub fn syntect::highlighting::HighlightIterator<'a, 'b>::new(state: &'a mut syntect::highlighting::HighlightState, changes: &'a [(usize, syntect::parsing::ScopeStackOp)], text: &'b str, highlighter: &'a syntect::highlighting::Highlighter<'_>) -> syntect::highlighting::HighlightIterator<'a, 'b> +impl<'a, 'b> core::fmt::Debug for syntect::highlighting::HighlightIterator<'a, 'b> +pub fn syntect::highlighting::HighlightIterator<'a, 'b>::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result impl<'a, 'b> core::iter::traits::iterator::Iterator for syntect::highlighting::HighlightIterator<'a, 'b> pub type syntect::highlighting::HighlightIterator<'a, 'b>::Item = (syntect::highlighting::Style, &'b str) pub fn syntect::highlighting::HighlightIterator<'a, 'b>::next(&mut self) -> core::option::Option<(syntect::highlighting::Style, &'b str)> @@ -276,6 +276,8 @@ impl<'a, 'b> core::panic::unwind_safe::RefUnwindSafe for syntect::highlighting:: impl<'a, 'b> !core::panic::unwind_safe::UnwindSafe for syntect::highlighting::HighlightIterator<'a, 'b> pub struct syntect::highlighting::HighlightState pub syntect::highlighting::HighlightState::path: syntect::parsing::ScopeStack +impl syntect::highlighting::HighlightState +pub fn syntect::highlighting::HighlightState::new(highlighter: &syntect::highlighting::Highlighter<'_>, initial_stack: syntect::parsing::ScopeStack) -> syntect::highlighting::HighlightState impl core::clone::Clone for syntect::highlighting::HighlightState pub fn syntect::highlighting::HighlightState::clone(&self) -> syntect::highlighting::HighlightState impl core::cmp::Eq for syntect::highlighting::HighlightState @@ -285,31 +287,29 @@ impl core::fmt::Debug for syntect::highlighting::HighlightState pub fn syntect::highlighting::HighlightState::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result impl core::marker::StructuralEq for syntect::highlighting::HighlightState impl core::marker::StructuralPartialEq for syntect::highlighting::HighlightState -impl syntect::highlighting::HighlightState -pub fn syntect::highlighting::HighlightState::new(highlighter: &syntect::highlighting::Highlighter<'_>, initial_stack: syntect::parsing::ScopeStack) -> syntect::highlighting::HighlightState impl core::marker::Send for syntect::highlighting::HighlightState impl core::marker::Sync for syntect::highlighting::HighlightState impl core::marker::Unpin for syntect::highlighting::HighlightState impl core::panic::unwind_safe::RefUnwindSafe for syntect::highlighting::HighlightState impl core::panic::unwind_safe::UnwindSafe for syntect::highlighting::HighlightState pub struct syntect::highlighting::Highlighter<'a> -impl<'a> core::fmt::Debug for syntect::highlighting::Highlighter<'a> -pub fn syntect::highlighting::Highlighter<'a>::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result impl<'a> syntect::highlighting::Highlighter<'a> pub fn syntect::highlighting::Highlighter<'a>::get_default(&self) -> syntect::highlighting::Style pub fn syntect::highlighting::Highlighter<'a>::new(theme: &'a syntect::highlighting::Theme) -> syntect::highlighting::Highlighter<'a> pub fn syntect::highlighting::Highlighter<'a>::style_for_stack(&self, stack: &[syntect::parsing::Scope]) -> syntect::highlighting::Style pub fn syntect::highlighting::Highlighter<'a>::style_mod_for_stack(&self, path: &[syntect::parsing::Scope]) -> syntect::highlighting::StyleModifier +impl<'a> core::fmt::Debug for syntect::highlighting::Highlighter<'a> +pub fn syntect::highlighting::Highlighter<'a>::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result impl<'a> core::marker::Send for syntect::highlighting::Highlighter<'a> impl<'a> core::marker::Sync for syntect::highlighting::Highlighter<'a> impl<'a> core::marker::Unpin for syntect::highlighting::Highlighter<'a> impl<'a> core::panic::unwind_safe::RefUnwindSafe for syntect::highlighting::Highlighter<'a> impl<'a> core::panic::unwind_safe::UnwindSafe for syntect::highlighting::Highlighter<'a> pub struct syntect::highlighting::RangedHighlightIterator<'a, 'b> -impl<'a, 'b> core::fmt::Debug for syntect::highlighting::RangedHighlightIterator<'a, 'b> -pub fn syntect::highlighting::RangedHighlightIterator<'a, 'b>::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result impl<'a, 'b> syntect::highlighting::RangedHighlightIterator<'a, 'b> pub fn syntect::highlighting::RangedHighlightIterator<'a, 'b>::new(state: &'a mut syntect::highlighting::HighlightState, changes: &'a [(usize, syntect::parsing::ScopeStackOp)], text: &'b str, highlighter: &'a syntect::highlighting::Highlighter<'_>) -> syntect::highlighting::RangedHighlightIterator<'a, 'b> +impl<'a, 'b> core::fmt::Debug for syntect::highlighting::RangedHighlightIterator<'a, 'b> +pub fn syntect::highlighting::RangedHighlightIterator<'a, 'b>::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result impl<'a, 'b> core::iter::traits::iterator::Iterator for syntect::highlighting::RangedHighlightIterator<'a, 'b> pub type syntect::highlighting::RangedHighlightIterator<'a, 'b>::Item = (syntect::highlighting::Style, &'b str, core::ops::range::Range) pub fn syntect::highlighting::RangedHighlightIterator<'a, 'b>::next(&mut self) -> core::option::Option<(syntect::highlighting::Style, &'b str, core::ops::range::Range)> @@ -321,6 +321,10 @@ impl<'a, 'b> !core::panic::unwind_safe::UnwindSafe for syntect::highlighting::Ra pub struct syntect::highlighting::ScopeSelector pub syntect::highlighting::ScopeSelector::excludes: alloc::vec::Vec pub syntect::highlighting::ScopeSelector::path: syntect::parsing::ScopeStack +impl syntect::highlighting::ScopeSelector +pub fn syntect::highlighting::ScopeSelector::does_match(&self, stack: &[syntect::parsing::Scope]) -> core::option::Option +pub fn syntect::highlighting::ScopeSelector::extract_scopes(&self) -> alloc::vec::Vec +pub fn syntect::highlighting::ScopeSelector::extract_single_scope(&self) -> core::option::Option impl core::clone::Clone for syntect::highlighting::ScopeSelector pub fn syntect::highlighting::ScopeSelector::clone(&self) -> syntect::highlighting::ScopeSelector impl core::cmp::Eq for syntect::highlighting::ScopeSelector @@ -332,17 +336,13 @@ impl core::fmt::Debug for syntect::highlighting::ScopeSelector pub fn syntect::highlighting::ScopeSelector::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result impl core::marker::StructuralEq for syntect::highlighting::ScopeSelector impl core::marker::StructuralPartialEq for syntect::highlighting::ScopeSelector +impl core::str::traits::FromStr for syntect::highlighting::ScopeSelector +pub type syntect::highlighting::ScopeSelector::Err = syntect::parsing::ParseScopeError +pub fn syntect::highlighting::ScopeSelector::from_str(s: &str) -> core::result::Result impl serde::ser::Serialize for syntect::highlighting::ScopeSelector pub fn syntect::highlighting::ScopeSelector::serialize<__S>(&self, __serializer: __S) -> core::result::Result<<__S as serde::ser::Serializer>::Ok, <__S as serde::ser::Serializer>::Error> where __S: serde::ser::Serializer -impl syntect::highlighting::ScopeSelector -pub fn syntect::highlighting::ScopeSelector::does_match(&self, stack: &[syntect::parsing::Scope]) -> core::option::Option -pub fn syntect::highlighting::ScopeSelector::extract_scopes(&self) -> alloc::vec::Vec -pub fn syntect::highlighting::ScopeSelector::extract_single_scope(&self) -> core::option::Option impl<'de> serde::de::Deserialize<'de> for syntect::highlighting::ScopeSelector pub fn syntect::highlighting::ScopeSelector::deserialize<__D>(__deserializer: __D) -> core::result::Result::Error> where __D: serde::de::Deserializer<'de> -impl core::str::traits::FromStr for syntect::highlighting::ScopeSelector -pub type syntect::highlighting::ScopeSelector::Err = syntect::parsing::ParseScopeError -pub fn syntect::highlighting::ScopeSelector::from_str(s: &str) -> core::result::Result impl core::marker::Send for syntect::highlighting::ScopeSelector impl core::marker::Sync for syntect::highlighting::ScopeSelector impl core::marker::Unpin for syntect::highlighting::ScopeSelector @@ -350,6 +350,8 @@ impl core::panic::unwind_safe::RefUnwindSafe for syntect::highlighting::ScopeSel impl core::panic::unwind_safe::UnwindSafe for syntect::highlighting::ScopeSelector pub struct syntect::highlighting::ScopeSelectors pub syntect::highlighting::ScopeSelectors::selectors: alloc::vec::Vec +impl syntect::highlighting::ScopeSelectors +pub fn syntect::highlighting::ScopeSelectors::does_match(&self, stack: &[syntect::parsing::Scope]) -> core::option::Option impl core::clone::Clone for syntect::highlighting::ScopeSelectors pub fn syntect::highlighting::ScopeSelectors::clone(&self) -> syntect::highlighting::ScopeSelectors impl core::cmp::Eq for syntect::highlighting::ScopeSelectors @@ -361,15 +363,13 @@ impl core::fmt::Debug for syntect::highlighting::ScopeSelectors pub fn syntect::highlighting::ScopeSelectors::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result impl core::marker::StructuralEq for syntect::highlighting::ScopeSelectors impl core::marker::StructuralPartialEq for syntect::highlighting::ScopeSelectors +impl core::str::traits::FromStr for syntect::highlighting::ScopeSelectors +pub type syntect::highlighting::ScopeSelectors::Err = syntect::parsing::ParseScopeError +pub fn syntect::highlighting::ScopeSelectors::from_str(s: &str) -> core::result::Result impl serde::ser::Serialize for syntect::highlighting::ScopeSelectors pub fn syntect::highlighting::ScopeSelectors::serialize<__S>(&self, __serializer: __S) -> core::result::Result<<__S as serde::ser::Serializer>::Ok, <__S as serde::ser::Serializer>::Error> where __S: serde::ser::Serializer -impl syntect::highlighting::ScopeSelectors -pub fn syntect::highlighting::ScopeSelectors::does_match(&self, stack: &[syntect::parsing::Scope]) -> core::option::Option impl<'de> serde::de::Deserialize<'de> for syntect::highlighting::ScopeSelectors pub fn syntect::highlighting::ScopeSelectors::deserialize<__D>(__deserializer: __D) -> core::result::Result::Error> where __D: serde::de::Deserializer<'de> -impl core::str::traits::FromStr for syntect::highlighting::ScopeSelectors -pub type syntect::highlighting::ScopeSelectors::Err = syntect::parsing::ParseScopeError -pub fn syntect::highlighting::ScopeSelectors::from_str(s: &str) -> core::result::Result impl core::marker::Send for syntect::highlighting::ScopeSelectors impl core::marker::Sync for syntect::highlighting::ScopeSelectors impl core::marker::Unpin for syntect::highlighting::ScopeSelectors @@ -397,11 +397,15 @@ pub struct syntect::highlighting::Style pub syntect::highlighting::Style::background: syntect::highlighting::Color pub syntect::highlighting::Style::font_style: syntect::highlighting::FontStyle pub syntect::highlighting::Style::foreground: syntect::highlighting::Color +impl syntect::highlighting::Style +pub fn syntect::highlighting::Style::apply(&self, modifier: syntect::highlighting::StyleModifier) -> syntect::highlighting::Style impl core::clone::Clone for syntect::highlighting::Style pub fn syntect::highlighting::Style::clone(&self) -> syntect::highlighting::Style impl core::cmp::Eq for syntect::highlighting::Style impl core::cmp::PartialEq for syntect::highlighting::Style pub fn syntect::highlighting::Style::eq(&self, other: &syntect::highlighting::Style) -> bool +impl core::default::Default for syntect::highlighting::Style +pub fn syntect::highlighting::Style::default() -> syntect::highlighting::Style impl core::fmt::Debug for syntect::highlighting::Style pub fn syntect::highlighting::Style::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result impl core::hash::Hash for syntect::highlighting::Style @@ -411,12 +415,8 @@ impl core::marker::StructuralEq for syntect::highlighting::Style impl core::marker::StructuralPartialEq for syntect::highlighting::Style impl serde::ser::Serialize for syntect::highlighting::Style pub fn syntect::highlighting::Style::serialize<__S>(&self, __serializer: __S) -> core::result::Result<<__S as serde::ser::Serializer>::Ok, <__S as serde::ser::Serializer>::Error> where __S: serde::ser::Serializer -impl syntect::highlighting::Style -pub fn syntect::highlighting::Style::apply(&self, modifier: syntect::highlighting::StyleModifier) -> syntect::highlighting::Style impl<'de> serde::de::Deserialize<'de> for syntect::highlighting::Style pub fn syntect::highlighting::Style::deserialize<__D>(__deserializer: __D) -> core::result::Result::Error> where __D: serde::de::Deserializer<'de> -impl core::default::Default for syntect::highlighting::Style -pub fn syntect::highlighting::Style::default() -> syntect::highlighting::Style impl core::marker::Send for syntect::highlighting::Style impl core::marker::Sync for syntect::highlighting::Style impl core::marker::Unpin for syntect::highlighting::Style @@ -426,6 +426,8 @@ pub struct syntect::highlighting::StyleModifier pub syntect::highlighting::StyleModifier::background: core::option::Option pub syntect::highlighting::StyleModifier::font_style: core::option::Option pub syntect::highlighting::StyleModifier::foreground: core::option::Option +impl syntect::highlighting::StyleModifier +pub fn syntect::highlighting::StyleModifier::apply(&self, other: syntect::highlighting::StyleModifier) -> syntect::highlighting::StyleModifier impl core::clone::Clone for syntect::highlighting::StyleModifier pub fn syntect::highlighting::StyleModifier::clone(&self) -> syntect::highlighting::StyleModifier impl core::cmp::Eq for syntect::highlighting::StyleModifier @@ -440,8 +442,6 @@ impl core::marker::StructuralEq for syntect::highlighting::StyleModifier impl core::marker::StructuralPartialEq for syntect::highlighting::StyleModifier impl serde::ser::Serialize for syntect::highlighting::StyleModifier pub fn syntect::highlighting::StyleModifier::serialize<__S>(&self, __serializer: __S) -> core::result::Result<<__S as serde::ser::Serializer>::Ok, <__S as serde::ser::Serializer>::Error> where __S: serde::ser::Serializer -impl syntect::highlighting::StyleModifier -pub fn syntect::highlighting::StyleModifier::apply(&self, other: syntect::highlighting::StyleModifier) -> syntect::highlighting::StyleModifier impl<'de> serde::de::Deserialize<'de> for syntect::highlighting::StyleModifier pub fn syntect::highlighting::StyleModifier::deserialize<__D>(__deserializer: __D) -> core::result::Result::Error> where __D: serde::de::Deserializer<'de> impl core::marker::Send for syntect::highlighting::StyleModifier @@ -495,12 +495,6 @@ impl core::panic::unwind_safe::RefUnwindSafe for syntect::highlighting::ThemeIte impl core::panic::unwind_safe::UnwindSafe for syntect::highlighting::ThemeItem pub struct syntect::highlighting::ThemeSet pub syntect::highlighting::ThemeSet::themes: alloc::collections::btree::map::BTreeMap -impl core::default::Default for syntect::highlighting::ThemeSet -pub fn syntect::highlighting::ThemeSet::default() -> syntect::highlighting::ThemeSet -impl core::fmt::Debug for syntect::highlighting::ThemeSet -pub fn syntect::highlighting::ThemeSet::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result -impl serde::ser::Serialize for syntect::highlighting::ThemeSet -pub fn syntect::highlighting::ThemeSet::serialize<__S>(&self, __serializer: __S) -> core::result::Result<<__S as serde::ser::Serializer>::Ok, <__S as serde::ser::Serializer>::Error> where __S: serde::ser::Serializer impl syntect::highlighting::ThemeSet pub fn syntect::highlighting::ThemeSet::add_from_folder>(&mut self, folder: P) -> core::result::Result<(), syntect::LoadingError> pub fn syntect::highlighting::ThemeSet::discover_theme_paths>(folder: P) -> core::result::Result, syntect::LoadingError> @@ -510,6 +504,12 @@ pub fn syntect::highlighting::ThemeSet::load_from_reader syntect::highlighting::ThemeSet impl syntect::highlighting::ThemeSet pub fn syntect::highlighting::ThemeSet::load_defaults() -> syntect::highlighting::ThemeSet +impl core::default::Default for syntect::highlighting::ThemeSet +pub fn syntect::highlighting::ThemeSet::default() -> syntect::highlighting::ThemeSet +impl core::fmt::Debug for syntect::highlighting::ThemeSet +pub fn syntect::highlighting::ThemeSet::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result +impl serde::ser::Serialize for syntect::highlighting::ThemeSet +pub fn syntect::highlighting::ThemeSet::serialize<__S>(&self, __serializer: __S) -> core::result::Result<<__S as serde::ser::Serializer>::Ok, <__S as serde::ser::Serializer>::Error> where __S: serde::ser::Serializer impl<'de> serde::de::Deserialize<'de> for syntect::highlighting::ThemeSet pub fn syntect::highlighting::ThemeSet::deserialize<__D>(__deserializer: __D) -> core::result::Result::Error> where __D: serde::de::Deserializer<'de> impl core::marker::Send for syntect::highlighting::ThemeSet @@ -641,6 +641,9 @@ pub syntect::parsing::syntax_definition::ContextReference::File::sub_context: co pub syntect::parsing::syntax_definition::ContextReference::File::with_escape: bool #[non_exhaustive] pub syntect::parsing::syntax_definition::ContextReference::Inline(alloc::string::String) #[non_exhaustive] pub syntect::parsing::syntax_definition::ContextReference::Named(alloc::string::String) +impl syntect::parsing::syntax_definition::ContextReference +pub fn syntect::parsing::syntax_definition::ContextReference::id(&self) -> core::result::Result +pub fn syntect::parsing::syntax_definition::ContextReference::resolve<'a>(&self, syntax_set: &'a syntect::parsing::SyntaxSet) -> core::result::Result<&'a syntect::parsing::syntax_definition::Context, syntect::parsing::ParsingError> impl core::clone::Clone for syntect::parsing::syntax_definition::ContextReference pub fn syntect::parsing::syntax_definition::ContextReference::clone(&self) -> syntect::parsing::syntax_definition::ContextReference impl core::cmp::Eq for syntect::parsing::syntax_definition::ContextReference @@ -652,9 +655,6 @@ impl core::marker::StructuralEq for syntect::parsing::syntax_definition::Context impl core::marker::StructuralPartialEq for syntect::parsing::syntax_definition::ContextReference impl serde::ser::Serialize for syntect::parsing::syntax_definition::ContextReference pub fn syntect::parsing::syntax_definition::ContextReference::serialize<__S>(&self, __serializer: __S) -> core::result::Result<<__S as serde::ser::Serializer>::Ok, <__S as serde::ser::Serializer>::Error> where __S: serde::ser::Serializer -impl syntect::parsing::syntax_definition::ContextReference -pub fn syntect::parsing::syntax_definition::ContextReference::id(&self) -> core::result::Result -pub fn syntect::parsing::syntax_definition::ContextReference::resolve<'a>(&self, syntax_set: &'a syntect::parsing::SyntaxSet) -> core::result::Result<&'a syntect::parsing::syntax_definition::Context, syntect::parsing::ParsingError> impl<'de> serde::de::Deserialize<'de> for syntect::parsing::syntax_definition::ContextReference pub fn syntect::parsing::syntax_definition::ContextReference::deserialize<__D>(__deserializer: __D) -> core::result::Result::Error> where __D: serde::de::Deserializer<'de> impl core::marker::Send for syntect::parsing::syntax_definition::ContextReference @@ -714,6 +714,10 @@ pub syntect::parsing::syntax_definition::Context::meta_scope: alloc::vec::Vec pub syntect::parsing::syntax_definition::Context::prototype: core::option::Option pub syntect::parsing::syntax_definition::Context::uses_backrefs: bool +impl syntect::parsing::syntax_definition::Context +pub fn syntect::parsing::syntax_definition::Context::match_at(&self, index: usize) -> core::result::Result<&syntect::parsing::syntax_definition::MatchPattern, syntect::parsing::ParsingError> +impl syntect::parsing::syntax_definition::Context +pub fn syntect::parsing::syntax_definition::Context::new(meta_include_prototype: bool) -> syntect::parsing::syntax_definition::Context impl core::clone::Clone for syntect::parsing::syntax_definition::Context pub fn syntect::parsing::syntax_definition::Context::clone(&self) -> syntect::parsing::syntax_definition::Context impl core::cmp::Eq for syntect::parsing::syntax_definition::Context @@ -725,10 +729,6 @@ impl core::marker::StructuralEq for syntect::parsing::syntax_definition::Context impl core::marker::StructuralPartialEq for syntect::parsing::syntax_definition::Context impl serde::ser::Serialize for syntect::parsing::syntax_definition::Context pub fn syntect::parsing::syntax_definition::Context::serialize<__S>(&self, __serializer: __S) -> core::result::Result<<__S as serde::ser::Serializer>::Ok, <__S as serde::ser::Serializer>::Error> where __S: serde::ser::Serializer -impl syntect::parsing::syntax_definition::Context -pub fn syntect::parsing::syntax_definition::Context::match_at(&self, index: usize) -> core::result::Result<&syntect::parsing::syntax_definition::MatchPattern, syntect::parsing::ParsingError> -impl syntect::parsing::syntax_definition::Context -pub fn syntect::parsing::syntax_definition::Context::new(meta_include_prototype: bool) -> syntect::parsing::syntax_definition::Context impl<'de> serde::de::Deserialize<'de> for syntect::parsing::syntax_definition::Context pub fn syntect::parsing::syntax_definition::Context::deserialize<__D>(__deserializer: __D) -> core::result::Result::Error> where __D: serde::de::Deserializer<'de> impl core::marker::Send for syntect::parsing::syntax_definition::Context @@ -776,6 +776,10 @@ pub syntect::parsing::syntax_definition::MatchPattern::operation: syntect::parsi pub syntect::parsing::syntax_definition::MatchPattern::regex: syntect::parsing::Regex pub syntect::parsing::syntax_definition::MatchPattern::scope: alloc::vec::Vec pub syntect::parsing::syntax_definition::MatchPattern::with_prototype: core::option::Option +impl syntect::parsing::syntax_definition::MatchPattern +pub fn syntect::parsing::syntax_definition::MatchPattern::new(has_captures: bool, regex_str: alloc::string::String, scope: alloc::vec::Vec, captures: core::option::Option, operation: syntect::parsing::syntax_definition::MatchOperation, with_prototype: core::option::Option) -> syntect::parsing::syntax_definition::MatchPattern +pub fn syntect::parsing::syntax_definition::MatchPattern::regex(&self) -> &syntect::parsing::Regex +pub fn syntect::parsing::syntax_definition::MatchPattern::regex_with_refs(&self, region: &syntect::parsing::Region, text: &str) -> syntect::parsing::Regex impl core::clone::Clone for syntect::parsing::syntax_definition::MatchPattern pub fn syntect::parsing::syntax_definition::MatchPattern::clone(&self) -> syntect::parsing::syntax_definition::MatchPattern impl core::cmp::Eq for syntect::parsing::syntax_definition::MatchPattern @@ -787,10 +791,6 @@ impl core::marker::StructuralEq for syntect::parsing::syntax_definition::MatchPa impl core::marker::StructuralPartialEq for syntect::parsing::syntax_definition::MatchPattern impl serde::ser::Serialize for syntect::parsing::syntax_definition::MatchPattern pub fn syntect::parsing::syntax_definition::MatchPattern::serialize<__S>(&self, __serializer: __S) -> core::result::Result<<__S as serde::ser::Serializer>::Ok, <__S as serde::ser::Serializer>::Error> where __S: serde::ser::Serializer -impl syntect::parsing::syntax_definition::MatchPattern -pub fn syntect::parsing::syntax_definition::MatchPattern::new(has_captures: bool, regex_str: alloc::string::String, scope: alloc::vec::Vec, captures: core::option::Option, operation: syntect::parsing::syntax_definition::MatchOperation, with_prototype: core::option::Option) -> syntect::parsing::syntax_definition::MatchPattern -pub fn syntect::parsing::syntax_definition::MatchPattern::regex(&self) -> &syntect::parsing::Regex -pub fn syntect::parsing::syntax_definition::MatchPattern::regex_with_refs(&self, region: &syntect::parsing::Region, text: &str) -> syntect::parsing::Regex impl<'de> serde::de::Deserialize<'de> for syntect::parsing::syntax_definition::MatchPattern pub fn syntect::parsing::syntax_definition::MatchPattern::deserialize<__D>(__deserializer: __D) -> core::result::Result::Error> where __D: serde::de::Deserializer<'de> impl core::marker::Send for syntect::parsing::syntax_definition::MatchPattern @@ -806,6 +806,8 @@ pub syntect::parsing::syntax_definition::SyntaxDefinition::hidden: bool pub syntect::parsing::syntax_definition::SyntaxDefinition::name: alloc::string::String pub syntect::parsing::syntax_definition::SyntaxDefinition::scope: syntect::parsing::Scope pub syntect::parsing::syntax_definition::SyntaxDefinition::variables: std::collections::hash::map::HashMap +impl syntect::parsing::syntax_definition::SyntaxDefinition +pub fn syntect::parsing::syntax_definition::SyntaxDefinition::load_from_str(s: &str, lines_include_newline: bool, fallback_name: core::option::Option<&str>) -> core::result::Result impl core::clone::Clone for syntect::parsing::syntax_definition::SyntaxDefinition pub fn syntect::parsing::syntax_definition::SyntaxDefinition::clone(&self) -> syntect::parsing::syntax_definition::SyntaxDefinition impl core::cmp::Eq for syntect::parsing::syntax_definition::SyntaxDefinition @@ -817,8 +819,6 @@ impl core::marker::StructuralEq for syntect::parsing::syntax_definition::SyntaxD impl core::marker::StructuralPartialEq for syntect::parsing::syntax_definition::SyntaxDefinition impl serde::ser::Serialize for syntect::parsing::syntax_definition::SyntaxDefinition pub fn syntect::parsing::syntax_definition::SyntaxDefinition::serialize<__S>(&self, __serializer: __S) -> core::result::Result<<__S as serde::ser::Serializer>::Ok, <__S as serde::ser::Serializer>::Error> where __S: serde::ser::Serializer -impl syntect::parsing::syntax_definition::SyntaxDefinition -pub fn syntect::parsing::syntax_definition::SyntaxDefinition::load_from_str(s: &str, lines_include_newline: bool, fallback_name: core::option::Option<&str>) -> core::result::Result impl<'de> serde::de::Deserialize<'de> for syntect::parsing::syntax_definition::SyntaxDefinition pub fn syntect::parsing::syntax_definition::SyntaxDefinition::deserialize<__D>(__deserializer: __D) -> core::result::Result::Error> where __D: serde::de::Deserializer<'de> impl core::marker::Send for syntect::parsing::syntax_definition::SyntaxDefinition @@ -870,11 +870,11 @@ impl core::panic::unwind_safe::UnwindSafe for syntect::parsing::ClearAmount #[non_exhaustive] pub enum syntect::parsing::ParseScopeError pub syntect::parsing::ParseScopeError::TooLong pub syntect::parsing::ParseScopeError::TooManyAtoms -impl core::fmt::Debug for syntect::parsing::ParseScopeError -pub fn syntect::parsing::ParseScopeError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result impl core::convert::From for syntect::highlighting::ParseThemeError pub fn syntect::highlighting::ParseThemeError::from(source: syntect::parsing::ParseScopeError) -> Self impl core::error::Error for syntect::parsing::ParseScopeError +impl core::fmt::Debug for syntect::parsing::ParseScopeError +pub fn syntect::parsing::ParseScopeError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result impl core::fmt::Display for syntect::parsing::ParseScopeError pub fn syntect::parsing::ParseScopeError::fmt(&self, __formatter: &mut core::fmt::Formatter<'_>) -> core::fmt::Result impl core::marker::Send for syntect::parsing::ParseScopeError @@ -891,12 +891,12 @@ pub syntect::parsing::ParseSyntaxError::MainMissing pub syntect::parsing::ParseSyntaxError::MissingMandatoryKey(&'static str) pub syntect::parsing::ParseSyntaxError::RegexCompileError(alloc::string::String, alloc::boxed::Box<(dyn core::error::Error + core::marker::Send + core::marker::Sync + 'static)>) pub syntect::parsing::ParseSyntaxError::TypeMismatch -impl core::fmt::Debug for syntect::parsing::ParseSyntaxError -pub fn syntect::parsing::ParseSyntaxError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result impl core::convert::From for syntect::parsing::ParseSyntaxError pub fn syntect::parsing::ParseSyntaxError::from(source: yaml_rust::scanner::ScanError) -> Self impl core::error::Error for syntect::parsing::ParseSyntaxError pub fn syntect::parsing::ParseSyntaxError::source(&self) -> core::option::Option<&(dyn core::error::Error + 'static)> +impl core::fmt::Debug for syntect::parsing::ParseSyntaxError +pub fn syntect::parsing::ParseSyntaxError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result impl core::fmt::Display for syntect::parsing::ParseSyntaxError pub fn syntect::parsing::ParseSyntaxError::fmt(&self, __formatter: &mut core::fmt::Formatter<'_>) -> core::fmt::Result impl core::marker::Send for syntect::parsing::ParseSyntaxError @@ -909,11 +909,11 @@ pub syntect::parsing::ParsingError::BadMatchIndex(usize) pub syntect::parsing::ParsingError::MissingContext(syntect::parsing::syntax_definition::ContextId) pub syntect::parsing::ParsingError::MissingMainContext pub syntect::parsing::ParsingError::UnresolvedContextReference(syntect::parsing::syntax_definition::ContextReference) -impl core::fmt::Debug for syntect::parsing::ParsingError -pub fn syntect::parsing::ParsingError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result impl core::convert::From for syntect::Error pub fn syntect::Error::from(source: syntect::parsing::ParsingError) -> Self impl core::error::Error for syntect::parsing::ParsingError +impl core::fmt::Debug for syntect::parsing::ParsingError +pub fn syntect::parsing::ParsingError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result impl core::fmt::Display for syntect::parsing::ParsingError pub fn syntect::parsing::ParsingError::fmt(&self, __formatter: &mut core::fmt::Formatter<'_>) -> core::fmt::Result impl core::marker::Send for syntect::parsing::ParsingError @@ -923,11 +923,11 @@ impl core::panic::unwind_safe::RefUnwindSafe for syntect::parsing::ParsingError impl core::panic::unwind_safe::UnwindSafe for syntect::parsing::ParsingError #[non_exhaustive] pub enum syntect::parsing::ScopeError pub syntect::parsing::ScopeError::NoClearedScopesToRestore -impl core::fmt::Debug for syntect::parsing::ScopeError -pub fn syntect::parsing::ScopeError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result impl core::convert::From for syntect::Error pub fn syntect::Error::from(source: syntect::parsing::ScopeError) -> Self impl core::error::Error for syntect::parsing::ScopeError +impl core::fmt::Debug for syntect::parsing::ScopeError +pub fn syntect::parsing::ScopeError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result impl core::fmt::Display for syntect::parsing::ScopeError pub fn syntect::parsing::ScopeError::fmt(&self, __formatter: &mut core::fmt::Formatter<'_>) -> core::fmt::Result impl core::marker::Send for syntect::parsing::ScopeError @@ -958,6 +958,9 @@ impl core::panic::unwind_safe::UnwindSafe for syntect::parsing::ScopeStackOp pub struct syntect::parsing::MatchPower(pub f64) impl core::clone::Clone for syntect::parsing::MatchPower pub fn syntect::parsing::MatchPower::clone(&self) -> syntect::parsing::MatchPower +impl core::cmp::Eq for syntect::parsing::MatchPower +impl core::cmp::Ord for syntect::parsing::MatchPower +pub fn syntect::parsing::MatchPower::cmp(&self, other: &Self) -> core::cmp::Ordering impl core::cmp::PartialEq for syntect::parsing::MatchPower pub fn syntect::parsing::MatchPower::eq(&self, other: &syntect::parsing::MatchPower) -> bool impl core::cmp::PartialOrd for syntect::parsing::MatchPower @@ -966,15 +969,15 @@ impl core::fmt::Debug for syntect::parsing::MatchPower pub fn syntect::parsing::MatchPower::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result impl core::marker::Copy for syntect::parsing::MatchPower impl core::marker::StructuralPartialEq for syntect::parsing::MatchPower -impl core::cmp::Eq for syntect::parsing::MatchPower -impl core::cmp::Ord for syntect::parsing::MatchPower -pub fn syntect::parsing::MatchPower::cmp(&self, other: &Self) -> core::cmp::Ordering impl core::marker::Send for syntect::parsing::MatchPower impl core::marker::Sync for syntect::parsing::MatchPower impl core::marker::Unpin for syntect::parsing::MatchPower impl core::panic::unwind_safe::RefUnwindSafe for syntect::parsing::MatchPower impl core::panic::unwind_safe::UnwindSafe for syntect::parsing::MatchPower pub struct syntect::parsing::ParseState +impl syntect::parsing::ParseState +pub fn syntect::parsing::ParseState::new(syntax: &syntect::parsing::SyntaxReference) -> syntect::parsing::ParseState +pub fn syntect::parsing::ParseState::parse_line(&mut self, line: &str, syntax_set: &syntect::parsing::SyntaxSet) -> core::result::Result, syntect::parsing::ParsingError> impl core::clone::Clone for syntect::parsing::ParseState pub fn syntect::parsing::ParseState::clone(&self) -> syntect::parsing::ParseState impl core::cmp::Eq for syntect::parsing::ParseState @@ -984,17 +987,12 @@ impl core::fmt::Debug for syntect::parsing::ParseState pub fn syntect::parsing::ParseState::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result impl core::marker::StructuralEq for syntect::parsing::ParseState impl core::marker::StructuralPartialEq for syntect::parsing::ParseState -impl syntect::parsing::ParseState -pub fn syntect::parsing::ParseState::new(syntax: &syntect::parsing::SyntaxReference) -> syntect::parsing::ParseState -pub fn syntect::parsing::ParseState::parse_line(&mut self, line: &str, syntax_set: &syntect::parsing::SyntaxSet) -> core::result::Result, syntect::parsing::ParsingError> impl !core::marker::Send for syntect::parsing::ParseState impl !core::marker::Sync for syntect::parsing::ParseState impl core::marker::Unpin for syntect::parsing::ParseState impl core::panic::unwind_safe::RefUnwindSafe for syntect::parsing::ParseState impl core::panic::unwind_safe::UnwindSafe for syntect::parsing::ParseState pub struct syntect::parsing::Regex -impl core::fmt::Debug for syntect::parsing::Regex -pub fn syntect::parsing::Regex::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result impl syntect::parsing::Regex pub fn syntect::parsing::Regex::is_match(&self, text: &str) -> bool pub fn syntect::parsing::Regex::new(regex_str: alloc::string::String) -> Self @@ -1006,6 +1004,8 @@ pub fn syntect::parsing::Regex::clone(&self) -> Self impl core::cmp::Eq for syntect::parsing::Regex impl core::cmp::PartialEq for syntect::parsing::Regex pub fn syntect::parsing::Regex::eq(&self, other: &syntect::parsing::Regex) -> bool +impl core::fmt::Debug for syntect::parsing::Regex +pub fn syntect::parsing::Regex::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result impl serde::ser::Serialize for syntect::parsing::Regex pub fn syntect::parsing::Regex::serialize(&self, serializer: S) -> core::result::Result<::Ok, ::Error> where S: serde::ser::Serializer impl<'de> serde::de::Deserialize<'de> for syntect::parsing::Regex @@ -1016,26 +1016,33 @@ impl core::marker::Unpin for syntect::parsing::Regex impl core::panic::unwind_safe::RefUnwindSafe for syntect::parsing::Regex impl core::panic::unwind_safe::UnwindSafe for syntect::parsing::Regex pub struct syntect::parsing::Region +impl syntect::parsing::Region +pub fn syntect::parsing::Region::new() -> Self +pub fn syntect::parsing::Region::pos(&self, index: usize) -> core::option::Option<(usize, usize)> impl core::clone::Clone for syntect::parsing::Region pub fn syntect::parsing::Region::clone(&self) -> syntect::parsing::Region impl core::cmp::Eq for syntect::parsing::Region impl core::cmp::PartialEq for syntect::parsing::Region pub fn syntect::parsing::Region::eq(&self, other: &syntect::parsing::Region) -> bool +impl core::default::Default for syntect::parsing::Region +pub fn syntect::parsing::Region::default() -> Self impl core::fmt::Debug for syntect::parsing::Region pub fn syntect::parsing::Region::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result impl core::marker::StructuralEq for syntect::parsing::Region impl core::marker::StructuralPartialEq for syntect::parsing::Region -impl syntect::parsing::Region -pub fn syntect::parsing::Region::new() -> Self -pub fn syntect::parsing::Region::pos(&self, index: usize) -> core::option::Option<(usize, usize)> -impl core::default::Default for syntect::parsing::Region -pub fn syntect::parsing::Region::default() -> Self impl !core::marker::Send for syntect::parsing::Region impl !core::marker::Sync for syntect::parsing::Region impl core::marker::Unpin for syntect::parsing::Region impl core::panic::unwind_safe::RefUnwindSafe for syntect::parsing::Region impl core::panic::unwind_safe::UnwindSafe for syntect::parsing::Region pub struct syntect::parsing::Scope +impl syntect::parsing::Scope +pub fn syntect::parsing::Scope::atom_at(self, index: usize) -> u16 +pub fn syntect::parsing::Scope::build_string(self) -> alloc::string::String +pub fn syntect::parsing::Scope::is_empty(self) -> bool +pub fn syntect::parsing::Scope::is_prefix_of(self, s: syntect::parsing::Scope) -> bool +pub fn syntect::parsing::Scope::len(self) -> u32 +pub fn syntect::parsing::Scope::new(s: &str) -> core::result::Result impl core::clone::Clone for syntect::parsing::Scope pub fn syntect::parsing::Scope::clone(&self) -> syntect::parsing::Scope impl core::cmp::Eq for syntect::parsing::Scope @@ -1047,22 +1054,15 @@ impl core::cmp::PartialOrd for syntect::parsing::Scope pub fn syntect::parsing::Scope::partial_cmp(&self, other: &syntect::parsing::Scope) -> core::option::Option impl core::default::Default for syntect::parsing::Scope pub fn syntect::parsing::Scope::default() -> syntect::parsing::Scope +impl core::fmt::Debug for syntect::parsing::Scope +pub fn syntect::parsing::Scope::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result +impl core::fmt::Display for syntect::parsing::Scope +pub fn syntect::parsing::Scope::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result impl core::hash::Hash for syntect::parsing::Scope pub fn syntect::parsing::Scope::hash<__H: core::hash::Hasher>(&self, state: &mut __H) impl core::marker::Copy for syntect::parsing::Scope impl core::marker::StructuralEq for syntect::parsing::Scope impl core::marker::StructuralPartialEq for syntect::parsing::Scope -impl syntect::parsing::Scope -pub fn syntect::parsing::Scope::atom_at(self, index: usize) -> u16 -pub fn syntect::parsing::Scope::build_string(self) -> alloc::string::String -pub fn syntect::parsing::Scope::is_empty(self) -> bool -pub fn syntect::parsing::Scope::is_prefix_of(self, s: syntect::parsing::Scope) -> bool -pub fn syntect::parsing::Scope::len(self) -> u32 -pub fn syntect::parsing::Scope::new(s: &str) -> core::result::Result -impl core::fmt::Debug for syntect::parsing::Scope -pub fn syntect::parsing::Scope::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result -impl core::fmt::Display for syntect::parsing::Scope -pub fn syntect::parsing::Scope::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result impl core::str::traits::FromStr for syntect::parsing::Scope pub type syntect::parsing::Scope::Err = syntect::parsing::ParseScopeError pub fn syntect::parsing::Scope::from_str(s: &str) -> core::result::Result @@ -1076,12 +1076,12 @@ impl core::marker::Unpin for syntect::parsing::Scope impl core::panic::unwind_safe::RefUnwindSafe for syntect::parsing::Scope impl core::panic::unwind_safe::UnwindSafe for syntect::parsing::Scope pub struct syntect::parsing::ScopeRepository -impl core::fmt::Debug for syntect::parsing::ScopeRepository -pub fn syntect::parsing::ScopeRepository::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result impl syntect::parsing::ScopeRepository pub fn syntect::parsing::ScopeRepository::atom_str(&self, atom_number: u16) -> &str pub fn syntect::parsing::ScopeRepository::build(&mut self, s: &str) -> core::result::Result pub fn syntect::parsing::ScopeRepository::to_string(&self, scope: syntect::parsing::Scope) -> alloc::string::String +impl core::fmt::Debug for syntect::parsing::ScopeRepository +pub fn syntect::parsing::ScopeRepository::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result impl core::marker::Send for syntect::parsing::ScopeRepository impl core::marker::Sync for syntect::parsing::ScopeRepository impl core::marker::Unpin for syntect::parsing::ScopeRepository @@ -1089,19 +1089,6 @@ impl core::panic::unwind_safe::RefUnwindSafe for syntect::parsing::ScopeReposito impl core::panic::unwind_safe::UnwindSafe for syntect::parsing::ScopeRepository pub struct syntect::parsing::ScopeStack pub syntect::parsing::ScopeStack::scopes: alloc::vec::Vec -impl core::clone::Clone for syntect::parsing::ScopeStack -pub fn syntect::parsing::ScopeStack::clone(&self) -> syntect::parsing::ScopeStack -impl core::cmp::Eq for syntect::parsing::ScopeStack -impl core::cmp::PartialEq for syntect::parsing::ScopeStack -pub fn syntect::parsing::ScopeStack::eq(&self, other: &syntect::parsing::ScopeStack) -> bool -impl core::default::Default for syntect::parsing::ScopeStack -pub fn syntect::parsing::ScopeStack::default() -> syntect::parsing::ScopeStack -impl core::fmt::Debug for syntect::parsing::ScopeStack -pub fn syntect::parsing::ScopeStack::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result -impl core::marker::StructuralEq for syntect::parsing::ScopeStack -impl core::marker::StructuralPartialEq for syntect::parsing::ScopeStack -impl serde::ser::Serialize for syntect::parsing::ScopeStack -pub fn syntect::parsing::ScopeStack::serialize<__S>(&self, __serializer: __S) -> core::result::Result<<__S as serde::ser::Serializer>::Ok, <__S as serde::ser::Serializer>::Error> where __S: serde::ser::Serializer impl syntect::parsing::ScopeStack pub fn syntect::parsing::ScopeStack::apply(&mut self, op: &syntect::parsing::ScopeStackOp) -> core::result::Result<(), syntect::parsing::ScopeError> pub fn syntect::parsing::ScopeStack::apply_with_hook(&mut self, op: &syntect::parsing::ScopeStackOp, hook: F) -> core::result::Result<(), syntect::parsing::ScopeError> where F: core::ops::function::FnMut(syntect::parsing::BasicScopeStackOp, &[syntect::parsing::Scope]) @@ -1115,13 +1102,26 @@ pub fn syntect::parsing::ScopeStack::len(&self) -> usize pub fn syntect::parsing::ScopeStack::new() -> syntect::parsing::ScopeStack pub fn syntect::parsing::ScopeStack::pop(&mut self) pub fn syntect::parsing::ScopeStack::push(&mut self, s: syntect::parsing::Scope) -impl<'de> serde::de::Deserialize<'de> for syntect::parsing::ScopeStack -pub fn syntect::parsing::ScopeStack::deserialize<__D>(__deserializer: __D) -> core::result::Result::Error> where __D: serde::de::Deserializer<'de> +impl core::clone::Clone for syntect::parsing::ScopeStack +pub fn syntect::parsing::ScopeStack::clone(&self) -> syntect::parsing::ScopeStack +impl core::cmp::Eq for syntect::parsing::ScopeStack +impl core::cmp::PartialEq for syntect::parsing::ScopeStack +pub fn syntect::parsing::ScopeStack::eq(&self, other: &syntect::parsing::ScopeStack) -> bool +impl core::default::Default for syntect::parsing::ScopeStack +pub fn syntect::parsing::ScopeStack::default() -> syntect::parsing::ScopeStack +impl core::fmt::Debug for syntect::parsing::ScopeStack +pub fn syntect::parsing::ScopeStack::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result impl core::fmt::Display for syntect::parsing::ScopeStack pub fn syntect::parsing::ScopeStack::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result +impl core::marker::StructuralEq for syntect::parsing::ScopeStack +impl core::marker::StructuralPartialEq for syntect::parsing::ScopeStack impl core::str::traits::FromStr for syntect::parsing::ScopeStack pub type syntect::parsing::ScopeStack::Err = syntect::parsing::ParseScopeError pub fn syntect::parsing::ScopeStack::from_str(s: &str) -> core::result::Result +impl serde::ser::Serialize for syntect::parsing::ScopeStack +pub fn syntect::parsing::ScopeStack::serialize<__S>(&self, __serializer: __S) -> core::result::Result<<__S as serde::ser::Serializer>::Ok, <__S as serde::ser::Serializer>::Error> where __S: serde::ser::Serializer +impl<'de> serde::de::Deserialize<'de> for syntect::parsing::ScopeStack +pub fn syntect::parsing::ScopeStack::deserialize<__D>(__deserializer: __D) -> core::result::Result::Error> where __D: serde::de::Deserializer<'de> impl core::marker::Send for syntect::parsing::ScopeStack impl core::marker::Sync for syntect::parsing::ScopeStack impl core::marker::Unpin for syntect::parsing::ScopeStack @@ -1135,6 +1135,8 @@ pub syntect::parsing::SyntaxDefinition::hidden: bool pub syntect::parsing::SyntaxDefinition::name: alloc::string::String pub syntect::parsing::SyntaxDefinition::scope: syntect::parsing::Scope pub syntect::parsing::SyntaxDefinition::variables: std::collections::hash::map::HashMap +impl syntect::parsing::syntax_definition::SyntaxDefinition +pub fn syntect::parsing::syntax_definition::SyntaxDefinition::load_from_str(s: &str, lines_include_newline: bool, fallback_name: core::option::Option<&str>) -> core::result::Result impl core::clone::Clone for syntect::parsing::syntax_definition::SyntaxDefinition pub fn syntect::parsing::syntax_definition::SyntaxDefinition::clone(&self) -> syntect::parsing::syntax_definition::SyntaxDefinition impl core::cmp::Eq for syntect::parsing::syntax_definition::SyntaxDefinition @@ -1146,8 +1148,6 @@ impl core::marker::StructuralEq for syntect::parsing::syntax_definition::SyntaxD impl core::marker::StructuralPartialEq for syntect::parsing::syntax_definition::SyntaxDefinition impl serde::ser::Serialize for syntect::parsing::syntax_definition::SyntaxDefinition pub fn syntect::parsing::syntax_definition::SyntaxDefinition::serialize<__S>(&self, __serializer: __S) -> core::result::Result<<__S as serde::ser::Serializer>::Ok, <__S as serde::ser::Serializer>::Error> where __S: serde::ser::Serializer -impl syntect::parsing::syntax_definition::SyntaxDefinition -pub fn syntect::parsing::syntax_definition::SyntaxDefinition::load_from_str(s: &str, lines_include_newline: bool, fallback_name: core::option::Option<&str>) -> core::result::Result impl<'de> serde::de::Deserialize<'de> for syntect::parsing::syntax_definition::SyntaxDefinition pub fn syntect::parsing::syntax_definition::SyntaxDefinition::deserialize<__D>(__deserializer: __D) -> core::result::Result::Error> where __D: serde::de::Deserializer<'de> impl core::marker::Send for syntect::parsing::syntax_definition::SyntaxDefinition @@ -1176,10 +1176,6 @@ impl core::marker::Unpin for syntect::parsing::SyntaxReference impl core::panic::unwind_safe::RefUnwindSafe for syntect::parsing::SyntaxReference impl core::panic::unwind_safe::UnwindSafe for syntect::parsing::SyntaxReference pub struct syntect::parsing::SyntaxSet -impl core::fmt::Debug for syntect::parsing::SyntaxSet -pub fn syntect::parsing::SyntaxSet::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result -impl serde::ser::Serialize for syntect::parsing::SyntaxSet -pub fn syntect::parsing::SyntaxSet::serialize<__S>(&self, __serializer: __S) -> core::result::Result<<__S as serde::ser::Serializer>::Ok, <__S as serde::ser::Serializer>::Error> where __S: serde::ser::Serializer impl syntect::parsing::SyntaxSet pub fn syntect::parsing::SyntaxSet::find_syntax_by_extension<'a>(&'a self, extension: &str) -> core::option::Option<&'a syntect::parsing::SyntaxReference> pub fn syntect::parsing::SyntaxSet::find_syntax_by_first_line<'a>(&'a self, s: &str) -> core::option::Option<&'a syntect::parsing::SyntaxReference> @@ -1197,22 +1193,22 @@ pub fn syntect::parsing::SyntaxSet::syntaxes(&self) -> &[syntect::parsing::Synta impl syntect::parsing::SyntaxSet pub fn syntect::parsing::SyntaxSet::load_defaults_newlines() -> syntect::parsing::SyntaxSet pub fn syntect::parsing::SyntaxSet::load_defaults_nonewlines() -> syntect::parsing::SyntaxSet -impl<'de> serde::de::Deserialize<'de> for syntect::parsing::SyntaxSet -pub fn syntect::parsing::SyntaxSet::deserialize<__D>(__deserializer: __D) -> core::result::Result::Error> where __D: serde::de::Deserializer<'de> impl core::clone::Clone for syntect::parsing::SyntaxSet pub fn syntect::parsing::SyntaxSet::clone(&self) -> syntect::parsing::SyntaxSet impl core::default::Default for syntect::parsing::SyntaxSet pub fn syntect::parsing::SyntaxSet::default() -> Self +impl core::fmt::Debug for syntect::parsing::SyntaxSet +pub fn syntect::parsing::SyntaxSet::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result +impl serde::ser::Serialize for syntect::parsing::SyntaxSet +pub fn syntect::parsing::SyntaxSet::serialize<__S>(&self, __serializer: __S) -> core::result::Result<<__S as serde::ser::Serializer>::Ok, <__S as serde::ser::Serializer>::Error> where __S: serde::ser::Serializer +impl<'de> serde::de::Deserialize<'de> for syntect::parsing::SyntaxSet +pub fn syntect::parsing::SyntaxSet::deserialize<__D>(__deserializer: __D) -> core::result::Result::Error> where __D: serde::de::Deserializer<'de> impl core::marker::Send for syntect::parsing::SyntaxSet impl core::marker::Sync for syntect::parsing::SyntaxSet impl core::marker::Unpin for syntect::parsing::SyntaxSet impl core::panic::unwind_safe::RefUnwindSafe for syntect::parsing::SyntaxSet impl core::panic::unwind_safe::UnwindSafe for syntect::parsing::SyntaxSet pub struct syntect::parsing::SyntaxSetBuilder -impl core::clone::Clone for syntect::parsing::SyntaxSetBuilder -pub fn syntect::parsing::SyntaxSetBuilder::clone(&self) -> syntect::parsing::SyntaxSetBuilder -impl core::default::Default for syntect::parsing::SyntaxSetBuilder -pub fn syntect::parsing::SyntaxSetBuilder::default() -> syntect::parsing::SyntaxSetBuilder impl syntect::parsing::SyntaxSetBuilder pub fn syntect::parsing::SyntaxSetBuilder::add(&mut self, syntax: syntect::parsing::syntax_definition::SyntaxDefinition) pub fn syntect::parsing::SyntaxSetBuilder::add_from_folder>(&mut self, folder: P, lines_include_newline: bool) -> core::result::Result<(), syntect::LoadingError> @@ -1220,6 +1216,10 @@ pub fn syntect::parsing::SyntaxSetBuilder::add_plain_text_syntax(&mut self) pub fn syntect::parsing::SyntaxSetBuilder::build(self) -> syntect::parsing::SyntaxSet pub fn syntect::parsing::SyntaxSetBuilder::new() -> syntect::parsing::SyntaxSetBuilder pub fn syntect::parsing::SyntaxSetBuilder::syntaxes(&self) -> &[syntect::parsing::syntax_definition::SyntaxDefinition] +impl core::clone::Clone for syntect::parsing::SyntaxSetBuilder +pub fn syntect::parsing::SyntaxSetBuilder::clone(&self) -> syntect::parsing::SyntaxSetBuilder +impl core::default::Default for syntect::parsing::SyntaxSetBuilder +pub fn syntect::parsing::SyntaxSetBuilder::default() -> syntect::parsing::SyntaxSetBuilder impl core::marker::Send for syntect::parsing::SyntaxSetBuilder impl core::marker::Sync for syntect::parsing::SyntaxSetBuilder impl core::marker::Unpin for syntect::parsing::SyntaxSetBuilder @@ -1250,8 +1250,6 @@ pub syntect::Error::Io(std::io::error::Error) pub syntect::Error::LoadingError(syntect::LoadingError) pub syntect::Error::ParsingError(syntect::parsing::ParsingError) pub syntect::Error::ScopeError(syntect::parsing::ScopeError) -impl core::fmt::Debug for syntect::Error -pub fn syntect::Error::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result impl core::convert::From for syntect::Error pub fn syntect::Error::from(source: core::fmt::Error) -> Self impl core::convert::From for syntect::Error @@ -1264,6 +1262,8 @@ impl core::convert::From for syntect::Error pub fn syntect::Error::from(source: syntect::parsing::ScopeError) -> Self impl core::error::Error for syntect::Error pub fn syntect::Error::source(&self) -> core::option::Option<&(dyn core::error::Error + 'static)> +impl core::fmt::Debug for syntect::Error +pub fn syntect::Error::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result impl core::fmt::Display for syntect::Error pub fn syntect::Error::fmt(&self, __formatter: &mut core::fmt::Formatter<'_>) -> core::fmt::Result impl core::marker::Send for syntect::Error @@ -1278,8 +1278,6 @@ pub syntect::LoadingError::ParseSyntax(syntect::parsing::ParseSyntaxError, alloc pub syntect::LoadingError::ParseTheme(syntect::highlighting::ParseThemeError) pub syntect::LoadingError::ReadSettings(syntect::highlighting::SettingsError) pub syntect::LoadingError::WalkDir(walkdir::error::Error) -impl core::fmt::Debug for syntect::LoadingError -pub fn syntect::LoadingError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result impl core::convert::From for syntect::LoadingError pub fn syntect::LoadingError::from(source: std::io::error::Error) -> Self impl core::convert::From for syntect::Error @@ -1292,6 +1290,8 @@ impl core::convert::From for syntect::LoadingError pub fn syntect::LoadingError::from(source: walkdir::error::Error) -> Self impl core::error::Error for syntect::LoadingError pub fn syntect::LoadingError::source(&self) -> core::option::Option<&(dyn core::error::Error + 'static)> +impl core::fmt::Debug for syntect::LoadingError +pub fn syntect::LoadingError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result impl core::fmt::Display for syntect::LoadingError pub fn syntect::LoadingError::fmt(&self, __formatter: &mut core::fmt::Formatter<'_>) -> core::fmt::Result impl core::marker::Send for syntect::LoadingError