pub struct ShapeOutsideInfoBuilder { /* private fields */ }Expand description
Builder for ShapeOutsideInfo.
Implementations§
Source§impl ShapeOutsideInfoBuilder
impl ShapeOutsideInfoBuilder
Sourcepub fn shape<VALUE: Into<Vec<Json>>>(&mut self, value: VALUE) -> &mut Self
pub fn shape<VALUE: Into<Vec<Json>>>(&mut self, value: VALUE) -> &mut Self
Shape coordinate details
Sourcepub fn margin_shape<VALUE: Into<Vec<Json>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn margin_shape<VALUE: Into<Vec<Json>>>( &mut self, value: VALUE, ) -> &mut Self
Margin shape bounds
Sourcepub fn build(&self) -> Result<ShapeOutsideInfo, ShapeOutsideInfoBuilderError>
pub fn build(&self) -> Result<ShapeOutsideInfo, ShapeOutsideInfoBuilderError>
Trait Implementations§
Source§impl Clone for ShapeOutsideInfoBuilder
impl Clone for ShapeOutsideInfoBuilder
Source§fn clone(&self) -> ShapeOutsideInfoBuilder
fn clone(&self) -> ShapeOutsideInfoBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ShapeOutsideInfoBuilder
impl RefUnwindSafe for ShapeOutsideInfoBuilder
impl Send for ShapeOutsideInfoBuilder
impl Sync for ShapeOutsideInfoBuilder
impl Unpin for ShapeOutsideInfoBuilder
impl UnsafeUnpin for ShapeOutsideInfoBuilder
impl UnwindSafe for ShapeOutsideInfoBuilder
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