pub struct DecorationProviderOptsBuilder { /* private fields */ }
Expand description
Builder for DecorationProviderOpts
.
Implementations§
Source§impl DecorationProviderOptsBuilder
impl DecorationProviderOptsBuilder
pub fn on_buf<F>(&mut self, fun: F) -> &mut Self
pub fn on_end<F>(&mut self, fun: F) -> &mut Self
pub fn on_line<F>(&mut self, fun: F) -> &mut Self
pub fn on_start<F>(&mut self, fun: F) -> &mut Self
pub fn on_win<F>(&mut self, fun: F) -> &mut Self
pub fn build(&mut self) -> DecorationProviderOpts
Trait Implementations§
Source§impl Clone for DecorationProviderOptsBuilder
impl Clone for DecorationProviderOptsBuilder
Source§fn clone(&self) -> DecorationProviderOptsBuilder
fn clone(&self) -> DecorationProviderOptsBuilder
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 DecorationProviderOptsBuilder
impl RefUnwindSafe for DecorationProviderOptsBuilder
impl !Send for DecorationProviderOptsBuilder
impl !Sync for DecorationProviderOptsBuilder
impl Unpin for DecorationProviderOptsBuilder
impl UnwindSafe for DecorationProviderOptsBuilder
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