diff --git a/Cargo.toml b/Cargo.toml index 6fdf78c..e827364 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -40,8 +40,8 @@ regex = "1.0" getopts = "0.2" pretty_assertions = "0.6" rustup-toolchain = "0.1.5" -rustdoc-json = "0.8.7" -public-api = "0.32.0" +rustdoc-json = "0.8.8" +public-api = "0.33.0" expect-test = "1.4.1" [features] diff --git a/tests/public-api.txt b/tests/public-api.txt index e879d15..6bfac5f 100644 --- a/tests/public-api.txt +++ b/tests/public-api.txt @@ -31,26 +31,26 @@ 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::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 -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::marker::Send for syntect::easy::ScopeRangeIterator<'a> impl<'a> core::marker::Sync for syntect::easy::ScopeRangeIterator<'a> 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::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 -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::marker::Send for syntect::easy::ScopeRegionIterator<'a> impl<'a> core::marker::Sync for syntect::easy::ScopeRegionIterator<'a> impl<'a> core::marker::Unpin for syntect::easy::ScopeRegionIterator<'a> @@ -70,6 +70,8 @@ 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 @@ -78,8 +80,6 @@ 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::Display for syntect::highlighting::ParseThemeError pub fn syntect::highlighting::ParseThemeError::fmt(&self, __formatter: &mut core::fmt::Formatter<'_>) -> core::fmt::Result -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::marker::Send for syntect::highlighting::ParseThemeError impl core::marker::Sync for syntect::highlighting::ParseThemeError impl core::marker::Unpin for syntect::highlighting::ParseThemeError @@ -87,6 +87,8 @@ 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 @@ -94,8 +96,6 @@ pub fn syntect::LoadingError::from(source: syntect::highlighting::SettingsError) impl core::error::Error for syntect::highlighting::SettingsError 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::fmt::Debug for syntect::highlighting::SettingsError -pub fn syntect::highlighting::SettingsError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result impl core::marker::Send for syntect::highlighting::SettingsError impl core::marker::Sync for syntect::highlighting::SettingsError impl core::marker::Unpin for syntect::highlighting::SettingsError @@ -106,11 +106,6 @@ pub syntect::highlighting::UnderlineOption::None pub syntect::highlighting::UnderlineOption::SquigglyUnderline pub syntect::highlighting::UnderlineOption::StippledUnderline pub syntect::highlighting::UnderlineOption::Underline -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::clone::Clone for syntect::highlighting::UnderlineOption pub fn syntect::highlighting::UnderlineOption::clone(&self) -> syntect::highlighting::UnderlineOption impl core::cmp::PartialEq for syntect::highlighting::UnderlineOption @@ -122,6 +117,11 @@ 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,14 +132,6 @@ 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::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::clone::Clone for syntect::highlighting::Color pub fn syntect::highlighting::Color::clone(&self) -> syntect::highlighting::Color impl core::cmp::Eq for syntect::highlighting::Color @@ -152,14 +144,36 @@ impl core::marker::StructuralEq for syntect::highlighting::Color impl core::marker::StructuralPartialEq for syntect::highlighting::Color 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 @@ -188,6 +202,8 @@ 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] @@ -240,35 +256,19 @@ 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 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<'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::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)> -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::marker::Send for syntect::highlighting::HighlightIterator<'a, 'b> impl<'a, 'b> core::marker::Sync for syntect::highlighting::HighlightIterator<'a, 'b> impl<'a, 'b> core::marker::Unpin for syntect::highlighting::HighlightIterator<'a, 'b> @@ -276,8 +276,6 @@ 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 @@ -287,32 +285,34 @@ 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::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)> -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::marker::Send for syntect::highlighting::RangedHighlightIterator<'a, 'b> impl<'a, 'b> core::marker::Sync for syntect::highlighting::RangedHighlightIterator<'a, 'b> impl<'a, 'b> core::marker::Unpin for syntect::highlighting::RangedHighlightIterator<'a, 'b> @@ -321,13 +321,6 @@ 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::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::clone::Clone for syntect::highlighting::ScopeSelector pub fn syntect::highlighting::ScopeSelector::clone(&self) -> syntect::highlighting::ScopeSelector impl core::cmp::Eq for syntect::highlighting::ScopeSelector @@ -341,8 +334,15 @@ impl core::marker::StructuralEq for syntect::highlighting::ScopeSelector impl core::marker::StructuralPartialEq for syntect::highlighting::ScopeSelector 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,11 +350,6 @@ 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::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::clone::Clone for syntect::highlighting::ScopeSelectors pub fn syntect::highlighting::ScopeSelectors::clone(&self) -> syntect::highlighting::ScopeSelectors impl core::cmp::Eq for syntect::highlighting::ScopeSelectors @@ -368,8 +363,13 @@ impl core::marker::StructuralEq for syntect::highlighting::ScopeSelectors impl core::marker::StructuralPartialEq for syntect::highlighting::ScopeSelectors 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,10 +397,6 @@ 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::default::Default for syntect::highlighting::Style -pub fn syntect::highlighting::Style::default() -> 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 @@ -415,8 +411,12 @@ 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,8 +426,6 @@ 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 @@ -442,6 +440,8 @@ 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,6 +495,12 @@ 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> @@ -504,12 +510,6 @@ 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,9 +641,6 @@ 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 @@ -655,6 +652,9 @@ 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,10 +714,6 @@ 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 @@ -729,6 +725,10 @@ 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 @@ -759,11 +759,11 @@ impl core::marker::Unpin for syntect::parsing::syntax_definition::ContextId impl core::panic::unwind_safe::RefUnwindSafe for syntect::parsing::syntax_definition::ContextId impl core::panic::unwind_safe::UnwindSafe for syntect::parsing::syntax_definition::ContextId pub struct syntect::parsing::syntax_definition::MatchIter<'a> +impl<'a> core::fmt::Debug for syntect::parsing::syntax_definition::MatchIter<'a> +pub fn syntect::parsing::syntax_definition::MatchIter<'a>::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result impl<'a> core::iter::traits::iterator::Iterator for syntect::parsing::syntax_definition::MatchIter<'a> pub type syntect::parsing::syntax_definition::MatchIter<'a>::Item = (&'a syntect::parsing::syntax_definition::Context, usize) pub fn syntect::parsing::syntax_definition::MatchIter<'a>::next(&mut self) -> core::option::Option<(&'a syntect::parsing::syntax_definition::Context, usize)> -impl<'a> core::fmt::Debug for syntect::parsing::syntax_definition::MatchIter<'a> -pub fn syntect::parsing::syntax_definition::MatchIter<'a>::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result impl<'a> core::marker::Send for syntect::parsing::syntax_definition::MatchIter<'a> impl<'a> core::marker::Sync for syntect::parsing::syntax_definition::MatchIter<'a> impl<'a> core::marker::Unpin for syntect::parsing::syntax_definition::MatchIter<'a> @@ -776,10 +776,6 @@ 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 @@ -791,6 +787,10 @@ 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,8 +806,6 @@ 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 @@ -819,6 +817,8 @@ 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,13 +870,13 @@ 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::Display for syntect::parsing::ParseScopeError pub fn syntect::parsing::ParseScopeError::fmt(&self, __formatter: &mut core::fmt::Formatter<'_>) -> core::fmt::Result -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::marker::Send for syntect::parsing::ParseScopeError impl core::marker::Sync for syntect::parsing::ParseScopeError impl core::marker::Unpin for syntect::parsing::ParseScopeError @@ -891,14 +891,14 @@ 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::Display for syntect::parsing::ParseSyntaxError pub fn syntect::parsing::ParseSyntaxError::fmt(&self, __formatter: &mut core::fmt::Formatter<'_>) -> core::fmt::Result -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::marker::Send for syntect::parsing::ParseSyntaxError impl core::marker::Sync for syntect::parsing::ParseSyntaxError impl core::marker::Unpin for syntect::parsing::ParseSyntaxError @@ -909,13 +909,13 @@ 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::Display for syntect::parsing::ParsingError pub fn syntect::parsing::ParsingError::fmt(&self, __formatter: &mut core::fmt::Formatter<'_>) -> core::fmt::Result -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::marker::Send for syntect::parsing::ParsingError impl core::marker::Sync for syntect::parsing::ParsingError impl core::marker::Unpin for syntect::parsing::ParsingError @@ -923,13 +923,13 @@ 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::Display for syntect::parsing::ScopeError pub fn syntect::parsing::ScopeError::fmt(&self, __formatter: &mut core::fmt::Formatter<'_>) -> core::fmt::Result -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::marker::Send for syntect::parsing::ScopeError impl core::marker::Sync for syntect::parsing::ScopeError impl core::marker::Unpin for syntect::parsing::ScopeError @@ -956,9 +956,6 @@ impl core::marker::Unpin for syntect::parsing::ScopeStackOp impl core::panic::unwind_safe::RefUnwindSafe for syntect::parsing::ScopeStackOp impl core::panic::unwind_safe::UnwindSafe for syntect::parsing::ScopeStackOp pub struct syntect::parsing::MatchPower(pub f64) -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::clone::Clone for syntect::parsing::MatchPower pub fn syntect::parsing::MatchPower::clone(&self) -> syntect::parsing::MatchPower impl core::cmp::PartialEq for syntect::parsing::MatchPower @@ -969,15 +966,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 @@ -987,12 +984,17 @@ 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 @@ -1008,19 +1010,12 @@ 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 pub fn syntect::parsing::Regex::deserialize(deserializer: D) -> core::result::Result::Error> where D: serde::de::Deserializer<'de> -impl core::fmt::Debug for syntect::parsing::Regex -pub fn syntect::parsing::Regex::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result impl core::marker::Send for syntect::parsing::Regex impl core::marker::Sync for syntect::parsing::Regex 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::default::Default for syntect::parsing::Region -pub fn syntect::parsing::Region::default() -> Self 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 @@ -1030,12 +1025,33 @@ 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 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 +impl core::cmp::Ord for syntect::parsing::Scope +pub fn syntect::parsing::Scope::cmp(&self, other: &syntect::parsing::Scope) -> core::cmp::Ordering +impl core::cmp::PartialEq for syntect::parsing::Scope +pub fn syntect::parsing::Scope::eq(&self, other: &syntect::parsing::Scope) -> bool +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::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 @@ -1054,34 +1070,18 @@ impl serde::ser::Serialize for syntect::parsing::Scope pub fn syntect::parsing::Scope::serialize(&self, serializer: S) -> core::result::Result<::Ok, ::Error> where S: serde::ser::Serializer impl<'de> serde::de::Deserialize<'de> for syntect::parsing::Scope pub fn syntect::parsing::Scope::deserialize(deserializer: D) -> core::result::Result::Error> where D: serde::de::Deserializer<'de> -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 -impl core::cmp::Ord for syntect::parsing::Scope -pub fn syntect::parsing::Scope::cmp(&self, other: &syntect::parsing::Scope) -> core::cmp::Ordering -impl core::cmp::PartialEq for syntect::parsing::Scope -pub fn syntect::parsing::Scope::eq(&self, other: &syntect::parsing::Scope) -> bool -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::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 core::marker::Send for syntect::parsing::Scope impl core::marker::Sync for syntect::parsing::Scope 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,6 +1089,19 @@ 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]) @@ -1102,26 +1115,13 @@ 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::fmt::Display for syntect::parsing::ScopeStack pub fn syntect::parsing::ScopeStack::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result 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 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<'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,8 +1135,6 @@ 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 @@ -1148,6 +1146,8 @@ 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,6 +1176,10 @@ 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> @@ -1193,22 +1197,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> @@ -1216,10 +1220,6 @@ 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,6 +1250,8 @@ 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,8 +1266,6 @@ impl core::error::Error for syntect::Error pub fn syntect::Error::source(&self) -> core::option::Option<&(dyn core::error::Error + 'static)> impl core::fmt::Display for syntect::Error pub fn syntect::Error::fmt(&self, __formatter: &mut core::fmt::Formatter<'_>) -> core::fmt::Result -impl core::fmt::Debug for syntect::Error -pub fn syntect::Error::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result impl core::marker::Send for syntect::Error impl core::marker::Sync for syntect::Error impl core::marker::Unpin for syntect::Error @@ -1278,6 +1278,8 @@ 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,8 +1294,6 @@ impl core::error::Error for syntect::LoadingError pub fn syntect::LoadingError::source(&self) -> core::option::Option<&(dyn core::error::Error + 'static)> impl core::fmt::Display for syntect::LoadingError pub fn syntect::LoadingError::fmt(&self, __formatter: &mut core::fmt::Formatter<'_>) -> core::fmt::Result -impl core::fmt::Debug for syntect::LoadingError -pub fn syntect::LoadingError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result impl core::marker::Send for syntect::LoadingError impl core::marker::Sync for syntect::LoadingError impl core::marker::Unpin for syntect::LoadingError