pub enum ShapeSource {
None,
Auto,
Polygon(Vec<(Length, Length)>),
}Expand description
shape-outside as the sheet wrote it, before the cascade knows
the font size its lengths are relative to.
Variants§
Trait Implementations§
Source§impl Clone for ShapeSource
impl Clone for ShapeSource
Source§fn clone(&self) -> ShapeSource
fn clone(&self) -> ShapeSource
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 moreSource§impl Debug for ShapeSource
impl Debug for ShapeSource
Source§impl PartialEq for ShapeSource
impl PartialEq for ShapeSource
impl StructuralPartialEq for ShapeSource
Auto Trait Implementations§
impl Freeze for ShapeSource
impl RefUnwindSafe for ShapeSource
impl Send for ShapeSource
impl Sync for ShapeSource
impl Unpin for ShapeSource
impl UnsafeUnpin for ShapeSource
impl UnwindSafe for ShapeSource
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.