pub enum ShapeOutside {
None,
Auto,
Polygon(Vec<ShapePoint>),
}Expand description
The contour prose sets around, from shape-outside.
A contour is the outline the text keeps clear of, in place of the box.
Variants§
None
none: the prose keeps clear of the box itself.
Auto
auto: the contour comes from the image’s own alpha channel.
A format that carries no alpha contributes its box.
Polygon(Vec<ShapePoint>)
polygon(…): the points the sheet wrote, read against the
margin box.
Trait Implementations§
Source§impl Clone for ShapeOutside
impl Clone for ShapeOutside
Source§fn clone(&self) -> ShapeOutside
fn clone(&self) -> ShapeOutside
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 ShapeOutside
impl Debug for ShapeOutside
Source§impl PartialEq for ShapeOutside
impl PartialEq for ShapeOutside
Source§impl Serialize for ShapeOutside
impl Serialize for ShapeOutside
impl StructuralPartialEq for ShapeOutside
Auto Trait Implementations§
impl Freeze for ShapeOutside
impl RefUnwindSafe for ShapeOutside
impl Send for ShapeOutside
impl Sync for ShapeOutside
impl Unpin for ShapeOutside
impl UnsafeUnpin for ShapeOutside
impl UnwindSafe for ShapeOutside
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.