pub enum InfoboxType {
Infobox,
Field,
Section,
Image,
}Expand description
Infobox types.
The type determines how the infobox part should be rendered and interpreted.
Variants§
Infobox
Infobox container (root infobox)
Field
Field within infobox (name-value pair)
Section
Section within infobox (group of fields)
Image
Image in infobox
Trait Implementations§
Source§impl Clone for InfoboxType
impl Clone for InfoboxType
Source§fn clone(&self) -> InfoboxType
fn clone(&self) -> InfoboxType
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 InfoboxType
impl Debug for InfoboxType
Source§impl<'de> Deserialize<'de> for InfoboxType
impl<'de> Deserialize<'de> for InfoboxType
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 InfoboxType
impl PartialEq for InfoboxType
Source§impl Serialize for InfoboxType
impl Serialize for InfoboxType
impl StructuralPartialEq for InfoboxType
Auto Trait Implementations§
impl Freeze for InfoboxType
impl RefUnwindSafe for InfoboxType
impl Send for InfoboxType
impl Sync for InfoboxType
impl Unpin for InfoboxType
impl UnsafeUnpin for InfoboxType
impl UnwindSafe for InfoboxType
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