Enum wiggle_generate::config::WitxConf
source · pub enum WitxConf {
Paths(Paths),
Literal(Literal),
}
Expand description
The witx document(s) that will be loaded from a Config
.
A witx interface definition can be provided either as a collection of relative paths to
documents, or as a single inlined string literal. Note that (use ...)
directives are not
permitted when providing a string literal.
Variants§
Paths(Paths)
A collection of paths pointing to witx files.
Literal(Literal)
A single witx document, provided as a string literal.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WitxConf
impl RefUnwindSafe for WitxConf
impl Send for WitxConf
impl Sync for WitxConf
impl Unpin for WitxConf
impl UnwindSafe for WitxConf
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