pub struct UnderOverSpec {
pub over: bool,
pub under: bool,
pub over_deco: Deco,
pub under_deco: Deco,
}Expand description
Spec for inserting an under/over construct.
Fields§
§over: boolWhether to include an over slot.
under: boolWhether to include an under slot.
over_deco: DecoThe over decoration to apply.
under_deco: DecoThe under decoration to apply.
Trait Implementations§
Source§impl Clone for UnderOverSpec
impl Clone for UnderOverSpec
Source§fn clone(&self) -> UnderOverSpec
fn clone(&self) -> UnderOverSpec
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for UnderOverSpec
Source§impl Debug for UnderOverSpec
impl Debug for UnderOverSpec
Source§impl<'de> Deserialize<'de> for UnderOverSpec
impl<'de> Deserialize<'de> for UnderOverSpec
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
impl Eq for UnderOverSpec
Source§impl PartialEq for UnderOverSpec
impl PartialEq for UnderOverSpec
Source§impl Serialize for UnderOverSpec
impl Serialize for UnderOverSpec
impl StructuralPartialEq for UnderOverSpec
Auto Trait Implementations§
impl Freeze for UnderOverSpec
impl RefUnwindSafe for UnderOverSpec
impl Send for UnderOverSpec
impl Sync for UnderOverSpec
impl Unpin for UnderOverSpec
impl UnsafeUnpin for UnderOverSpec
impl UnwindSafe for UnderOverSpec
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