Skip to main content

IntoComposeInput

Trait IntoComposeInput 

Source
pub trait IntoComposeInput:
    Send
    + Sync
    + Unpin {
    // Required method
    fn into_compose_input(self) -> (String, ComposeSourceOptions);
}
Expand description

Converts a value into an owned source path and its composition options.

Required Methods§

Source

fn into_compose_input(self) -> (String, ComposeSourceOptions)

Convert self into a source path and options.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl IntoComposeInput for &str

Source§

impl IntoComposeInput for String

Source§

impl<P> IntoComposeInput for (P, ComposeSourceOptions)
where P: Into<String> + Send + Sync + Unpin,

Implementors§