pub enum InfoboxPartType {
Infobox,
Field,
Section,
Image,
List,
}Expand description
Infobox part types.
Extended types for parts within infoboxes, including lists.
Variants§
Infobox
Infobox container
Field
Field (name-value pair)
Section
Section (grouping of fields)
Image
Image
List
List (multiple values)
Trait Implementations§
Source§impl Clone for InfoboxPartType
impl Clone for InfoboxPartType
Source§fn clone(&self) -> InfoboxPartType
fn clone(&self) -> InfoboxPartType
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 InfoboxPartType
impl Debug for InfoboxPartType
Source§impl<'de> Deserialize<'de> for InfoboxPartType
impl<'de> Deserialize<'de> for InfoboxPartType
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 InfoboxPartType
impl PartialEq for InfoboxPartType
Source§impl Serialize for InfoboxPartType
impl Serialize for InfoboxPartType
impl StructuralPartialEq for InfoboxPartType
Auto Trait Implementations§
impl Freeze for InfoboxPartType
impl RefUnwindSafe for InfoboxPartType
impl Send for InfoboxPartType
impl Sync for InfoboxPartType
impl Unpin for InfoboxPartType
impl UnsafeUnpin for InfoboxPartType
impl UnwindSafe for InfoboxPartType
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