pub struct PresentationBuilder<TypedBuilderFields = ((), (), (), (), (), (), (), (), ())> {
    fields: TypedBuilderFields,
    phantom: PhantomData<()>,
}
Expand description

Builder for Presentation instances.

See Presentation::builder() for more info.

Fields§

§fields: TypedBuilderFields§phantom: PhantomData<()>

Implementations§

source§

impl<__reveal_problems, __focus, __echo, __show_reuse_message, __panel, __clear, __close, __group> PresentationBuilder<((), __reveal_problems, __focus, __echo, __show_reuse_message, __panel, __clear, __close, __group)>

source

pub fn reveal( self, reveal: impl Into<Option<String>> ) -> PresentationBuilder<((Option<String>,), __reveal_problems, __focus, __echo, __show_reuse_message, __panel, __clear, __close, __group)>

source§

impl<__reveal, __focus, __echo, __show_reuse_message, __panel, __clear, __close, __group> PresentationBuilder<(__reveal, (), __focus, __echo, __show_reuse_message, __panel, __clear, __close, __group)>

source

pub fn reveal_problems( self, reveal_problems: impl Into<Option<String>> ) -> PresentationBuilder<(__reveal, (Option<String>,), __focus, __echo, __show_reuse_message, __panel, __clear, __close, __group)>

source§

impl<__reveal, __reveal_problems, __echo, __show_reuse_message, __panel, __clear, __close, __group> PresentationBuilder<(__reveal, __reveal_problems, (), __echo, __show_reuse_message, __panel, __clear, __close, __group)>

source

pub fn focus( self, focus: impl Into<Option<bool>> ) -> PresentationBuilder<(__reveal, __reveal_problems, (Option<bool>,), __echo, __show_reuse_message, __panel, __clear, __close, __group)>

source§

impl<__reveal, __reveal_problems, __focus, __show_reuse_message, __panel, __clear, __close, __group> PresentationBuilder<(__reveal, __reveal_problems, __focus, (), __show_reuse_message, __panel, __clear, __close, __group)>

source

pub fn echo( self, echo: impl Into<Option<bool>> ) -> PresentationBuilder<(__reveal, __reveal_problems, __focus, (Option<bool>,), __show_reuse_message, __panel, __clear, __close, __group)>

source§

impl<__reveal, __reveal_problems, __focus, __echo, __panel, __clear, __close, __group> PresentationBuilder<(__reveal, __reveal_problems, __focus, __echo, (), __panel, __clear, __close, __group)>

source

pub fn show_reuse_message( self, show_reuse_message: impl Into<Option<bool>> ) -> PresentationBuilder<(__reveal, __reveal_problems, __focus, __echo, (Option<bool>,), __panel, __clear, __close, __group)>

source§

impl<__reveal, __reveal_problems, __focus, __echo, __show_reuse_message, __clear, __close, __group> PresentationBuilder<(__reveal, __reveal_problems, __focus, __echo, __show_reuse_message, (), __clear, __close, __group)>

source

pub fn panel( self, panel: impl Into<Option<String>> ) -> PresentationBuilder<(__reveal, __reveal_problems, __focus, __echo, __show_reuse_message, (Option<String>,), __clear, __close, __group)>

source§

impl<__reveal, __reveal_problems, __focus, __echo, __show_reuse_message, __panel, __close, __group> PresentationBuilder<(__reveal, __reveal_problems, __focus, __echo, __show_reuse_message, __panel, (), __close, __group)>

source

pub fn clear( self, clear: impl Into<Option<bool>> ) -> PresentationBuilder<(__reveal, __reveal_problems, __focus, __echo, __show_reuse_message, __panel, (Option<bool>,), __close, __group)>

source§

impl<__reveal, __reveal_problems, __focus, __echo, __show_reuse_message, __panel, __clear, __group> PresentationBuilder<(__reveal, __reveal_problems, __focus, __echo, __show_reuse_message, __panel, __clear, (), __group)>

source

pub fn close( self, close: impl Into<Option<bool>> ) -> PresentationBuilder<(__reveal, __reveal_problems, __focus, __echo, __show_reuse_message, __panel, __clear, (Option<bool>,), __group)>

source§

impl<__reveal, __reveal_problems, __focus, __echo, __show_reuse_message, __panel, __clear, __close> PresentationBuilder<(__reveal, __reveal_problems, __focus, __echo, __show_reuse_message, __panel, __clear, __close, ())>

source

pub fn group( self, group: impl Into<Option<bool>> ) -> PresentationBuilder<(__reveal, __reveal_problems, __focus, __echo, __show_reuse_message, __panel, __clear, __close, (Option<bool>,))>

source§

impl<__reveal: Optional<Option<String>>, __reveal_problems: Optional<Option<String>>, __focus: Optional<Option<bool>>, __echo: Optional<Option<bool>>, __show_reuse_message: Optional<Option<bool>>, __panel: Optional<Option<String>>, __clear: Optional<Option<bool>>, __close: Optional<Option<bool>>, __group: Optional<Option<bool>>> PresentationBuilder<(__reveal, __reveal_problems, __focus, __echo, __show_reuse_message, __panel, __clear, __close, __group)>

source

pub fn build(self) -> Presentation

Finalise the builder and create its Presentation instance

Trait Implementations§

source§

impl<TypedBuilderFields> Clone for PresentationBuilder<TypedBuilderFields>
where TypedBuilderFields: Clone,

source§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

Auto Trait Implementations§

§

impl<TypedBuilderFields> RefUnwindSafe for PresentationBuilder<TypedBuilderFields>
where TypedBuilderFields: RefUnwindSafe,

§

impl<TypedBuilderFields> Send for PresentationBuilder<TypedBuilderFields>
where TypedBuilderFields: Send,

§

impl<TypedBuilderFields> Sync for PresentationBuilder<TypedBuilderFields>
where TypedBuilderFields: Sync,

§

impl<TypedBuilderFields> Unpin for PresentationBuilder<TypedBuilderFields>
where TypedBuilderFields: Unpin,

§

impl<TypedBuilderFields> UnwindSafe for PresentationBuilder<TypedBuilderFields>
where TypedBuilderFields: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
§

fn try_into<'async_trait>( self ) -> Pin<Box<dyn Future<Output = Result<U, <U as TryFrom<T>>::Error>> + 'async_trait>>
where T: 'async_trait,

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more