pub struct ColumnRule {
pub style: BorderStyle,
pub width: f32,
}Expand description
The rule painted down a page’s gutters, from column-rule-width
and column-rule-style. It takes no room: the gutter is the room
it has.
Fields§
§style: BorderStyleHow the rule is drawn.
width: f32Thickness in points, whether or not it is drawn.
Implementations§
Source§impl ColumnRule
impl ColumnRule
Trait Implementations§
Source§impl Clone for ColumnRule
impl Clone for ColumnRule
Source§fn clone(&self) -> ColumnRule
fn clone(&self) -> ColumnRule
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 ColumnRule
Source§impl Debug for ColumnRule
impl Debug for ColumnRule
Source§impl PartialEq for ColumnRule
impl PartialEq for ColumnRule
Source§impl Serialize for ColumnRule
impl Serialize for ColumnRule
impl StructuralPartialEq for ColumnRule
Auto Trait Implementations§
impl Freeze for ColumnRule
impl RefUnwindSafe for ColumnRule
impl Send for ColumnRule
impl Sync for ColumnRule
impl Unpin for ColumnRule
impl UnsafeUnpin for ColumnRule
impl UnwindSafe for ColumnRule
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<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.