pub enum ViewFormat {
Source,
Minimal,
Documented,
Signatures,
Json,
}Expand description
Output format for views
Variants§
Source
Full source code
Minimal
Minimal (no comments, compact)
Documented
With documentation
Signatures
Type signatures only (no function bodies)
Json
JSON representation
Trait Implementations§
Source§impl Clone for ViewFormat
impl Clone for ViewFormat
Source§fn clone(&self) -> ViewFormat
fn clone(&self) -> ViewFormat
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 ViewFormat
impl Debug for ViewFormat
Source§impl Default for ViewFormat
impl Default for ViewFormat
Source§fn default() -> ViewFormat
fn default() -> ViewFormat
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ViewFormat
impl<'de> Deserialize<'de> for ViewFormat
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 PartialEq for ViewFormat
impl PartialEq for ViewFormat
Source§impl Serialize for ViewFormat
impl Serialize for ViewFormat
impl Copy for ViewFormat
impl Eq for ViewFormat
impl StructuralPartialEq for ViewFormat
Auto Trait Implementations§
impl Freeze for ViewFormat
impl RefUnwindSafe for ViewFormat
impl Send for ViewFormat
impl Sync for ViewFormat
impl Unpin for ViewFormat
impl UnwindSafe for ViewFormat
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