Enum jsonnet::FmtComment
[−]
[src]
pub enum FmtComment {
Hash,
Slash,
Leave,
}Comment style
Variants
HashHash comments (like shell).
SlashDouble slash comments (like C++).
LeaveLeave comments as-is.
Trait Implementations
impl Debug for FmtComment[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl PartialEq for FmtComment[src]
fn eq(&self, __arg_0: &FmtComment) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
This method tests for !=.
impl Eq for FmtComment[src]
impl Default for FmtComment[src]
fn default() -> FmtComment[src]
Returns the "default value" for a type. Read more