pub struct ForceStartingStyleBuilder { /* private fields */ }Expand description
Builder for ForceStartingStyle.
Implementations§
Source§impl ForceStartingStyleBuilder
impl ForceStartingStyleBuilder
Sourcepub fn node_id<VALUE: Into<NodeId>>(&mut self, value: VALUE) -> &mut Self
pub fn node_id<VALUE: Into<NodeId>>(&mut self, value: VALUE) -> &mut Self
The element id for which to force the starting-style state.
Sourcepub fn forced<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn forced<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
Boolean indicating if this is on or off.
Sourcepub fn build(
&self,
) -> Result<ForceStartingStyle, ForceStartingStyleBuilderError>
pub fn build( &self, ) -> Result<ForceStartingStyle, ForceStartingStyleBuilderError>
Trait Implementations§
Source§impl Clone for ForceStartingStyleBuilder
impl Clone for ForceStartingStyleBuilder
Source§fn clone(&self) -> ForceStartingStyleBuilder
fn clone(&self) -> ForceStartingStyleBuilder
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 ForceStartingStyleBuilder
impl RefUnwindSafe for ForceStartingStyleBuilder
impl Send for ForceStartingStyleBuilder
impl Sync for ForceStartingStyleBuilder
impl Unpin for ForceStartingStyleBuilder
impl UnsafeUnpin for ForceStartingStyleBuilder
impl UnwindSafe for ForceStartingStyleBuilder
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