pub enum BoxDecorationBreak {
Slice,
Clone,
}Expand description
What a block’s decoration does where a page break splits it, from
box-decoration-break.
Variants§
Slice
slice: the box is drawn as one and cut, so the two edges
the break made are open.
Clone
clone: each piece is a box of its own, closed on all four
edges.
Trait Implementations§
Source§impl Clone for BoxDecorationBreak
impl Clone for BoxDecorationBreak
Source§fn clone(&self) -> BoxDecorationBreak
fn clone(&self) -> BoxDecorationBreak
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 BoxDecorationBreak
Source§impl Debug for BoxDecorationBreak
impl Debug for BoxDecorationBreak
impl Eq for BoxDecorationBreak
Source§impl Hash for BoxDecorationBreak
impl Hash for BoxDecorationBreak
Source§impl PartialEq for BoxDecorationBreak
impl PartialEq for BoxDecorationBreak
Source§impl Serialize for BoxDecorationBreak
impl Serialize for BoxDecorationBreak
impl StructuralPartialEq for BoxDecorationBreak
Auto Trait Implementations§
impl Freeze for BoxDecorationBreak
impl RefUnwindSafe for BoxDecorationBreak
impl Send for BoxDecorationBreak
impl Sync for BoxDecorationBreak
impl Unpin for BoxDecorationBreak
impl UnsafeUnpin for BoxDecorationBreak
impl UnwindSafe for BoxDecorationBreak
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.