pub struct BlockAttrs {
pub classes: Vec<String>,
pub style: Option<String>,
pub passthrough: AttrMap,
}Fields§
§classes: Vec<String>§style: Option<String>§passthrough: AttrMapTrait Implementations§
Source§impl Clone for BlockAttrs
impl Clone for BlockAttrs
Source§fn clone(&self) -> BlockAttrs
fn clone(&self) -> BlockAttrs
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 BlockAttrs
impl Debug for BlockAttrs
Source§impl Default for BlockAttrs
impl Default for BlockAttrs
Source§fn default() -> BlockAttrs
fn default() -> BlockAttrs
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BlockAttrs
impl<'de> Deserialize<'de> for BlockAttrs
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 BlockAttrs
impl PartialEq for BlockAttrs
Source§impl Serialize for BlockAttrs
impl Serialize for BlockAttrs
impl StructuralPartialEq for BlockAttrs
Auto Trait Implementations§
impl Freeze for BlockAttrs
impl RefUnwindSafe for BlockAttrs
impl Send for BlockAttrs
impl Sync for BlockAttrs
impl Unpin for BlockAttrs
impl UnsafeUnpin for BlockAttrs
impl UnwindSafe for BlockAttrs
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