pub struct Acknowledgements { /* private fields */ }Expand description
Holds all the license information for embedded syntaxes and themes
Implementations§
Source§impl Acknowledgements
impl Acknowledgements
Sourcepub fn to_md(&self) -> String
pub fn to_md(&self) -> String
Display the license information as Markdown
Note: A full set of acknowledgements is posted for each version at the URL returned by
two_face::acknowledgement::url()
The output looks roughly as follows
Most of the code for generating both theme and syntax dumps along with the
curation of said themes and syntaxes is taken from the
[`bat` project](https://github.com/sharkdp/bat).
# Syntaxes
<details>
<summary>syntaxes/01_Packages/Rust/LICENSE.txt</summary>
...Elided license text...
</details>
...
# Themes
<details>
<summary>themes/1337-Scheme/LICENSE</summary>
...Elided license text...
</details>…
Source§impl Acknowledgements
impl Acknowledgements
Sourcepub fn for_syntaxes(&self) -> &[License]
pub fn for_syntaxes(&self) -> &[License]
Returns all of the acknowledgements specifically for embedded syntax definitions
Sourcepub fn for_themes(&self) -> &[License]
pub fn for_themes(&self) -> &[License]
Returns all of the acknowledgements specifically for embedded theme definitions
Trait Implementations§
Source§impl Clone for Acknowledgements
impl Clone for Acknowledgements
Source§fn clone(&self) -> Acknowledgements
fn clone(&self) -> Acknowledgements
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Acknowledgements
impl Debug for Acknowledgements
Source§impl<'de> Deserialize<'de> for Acknowledgements
impl<'de> Deserialize<'de> for Acknowledgements
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for Acknowledgements
impl Hash for Acknowledgements
Source§impl Ord for Acknowledgements
impl Ord for Acknowledgements
Source§fn cmp(&self, other: &Acknowledgements) -> Ordering
fn cmp(&self, other: &Acknowledgements) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Acknowledgements
impl PartialEq for Acknowledgements
Source§impl PartialOrd for Acknowledgements
impl PartialOrd for Acknowledgements
Source§impl Serialize for Acknowledgements
impl Serialize for Acknowledgements
impl Eq for Acknowledgements
impl StructuralPartialEq for Acknowledgements
Auto Trait Implementations§
impl Freeze for Acknowledgements
impl RefUnwindSafe for Acknowledgements
impl Send for Acknowledgements
impl Sync for Acknowledgements
impl Unpin for Acknowledgements
impl UnwindSafe for Acknowledgements
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.