pub struct CommandDecl {
pub like: Option<SmolStr>,
}Expand description
One [commands.<name>] entry: the built-in reference or citation command
whose semantic behavior the project command copies.
Fields§
§like: Option<SmolStr>The built-in reference or citation command whose key behavior is copied.
Trait Implementations§
Source§impl Clone for CommandDecl
impl Clone for CommandDecl
Source§fn clone(&self) -> CommandDecl
fn clone(&self) -> CommandDecl
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CommandDecl
impl Debug for CommandDecl
Source§impl Default for CommandDecl
impl Default for CommandDecl
Source§fn default() -> CommandDecl
fn default() -> CommandDecl
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CommandDeclwhere
CommandDecl: Default,
impl<'de> Deserialize<'de> for CommandDeclwhere
CommandDecl: Default,
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
impl Eq for CommandDecl
Source§impl Hash for CommandDecl
impl Hash for CommandDecl
Source§impl PartialEq for CommandDecl
impl PartialEq for CommandDecl
Source§impl Serialize for CommandDecl
impl Serialize for CommandDecl
impl StructuralPartialEq for CommandDecl
Auto Trait Implementations§
impl Freeze for CommandDecl
impl RefUnwindSafe for CommandDecl
impl Send for CommandDecl
impl Sync for CommandDecl
impl Unpin for CommandDecl
impl UnsafeUnpin for CommandDecl
impl UnwindSafe for CommandDecl
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