Enum hayagriva::CitePurpose
source · pub enum CitePurpose {
Author,
Year,
Full,
Prose,
}
Expand description
For what purpose to generate a citation.
Variants§
Author
The citation will only contain the name of the author.
Year
The citation will only contain the year. Year Affixes will not be included.
Full
The citation will equate to the bibliography entry of the item.
Prose
The citation will be well-suited for inclusion in prose.
Trait Implementations§
source§impl Clone for CitePurpose
impl Clone for CitePurpose
source§fn clone(&self) -> CitePurpose
fn clone(&self) -> CitePurpose
Returns a copy 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 CitePurpose
impl Debug for CitePurpose
source§impl Hash for CitePurpose
impl Hash for CitePurpose
source§impl PartialEq for CitePurpose
impl PartialEq for CitePurpose
source§fn eq(&self, other: &CitePurpose) -> bool
fn eq(&self, other: &CitePurpose) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for CitePurpose
impl Eq for CitePurpose
impl StructuralPartialEq for CitePurpose
Auto Trait Implementations§
impl RefUnwindSafe for CitePurpose
impl Send for CitePurpose
impl Sync for CitePurpose
impl Unpin for CitePurpose
impl UnwindSafe for CitePurpose
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<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.