pub struct TypesBuilder {
pub prelude: String,
pub start_namespace: Box<dyn Fn(&[String], &str) -> String>,
pub end_namespace: Box<dyn Fn(&[String], &str) -> String>,
pub decl: Box<dyn Fn(DynTapi) -> Option<String>>,
}Fields§
§prelude: String§start_namespace: Box<dyn Fn(&[String], &str) -> String>§end_namespace: Box<dyn Fn(&[String], &str) -> String>§decl: Box<dyn Fn(DynTapi) -> Option<String>>Implementations§
Source§impl TypesBuilder
impl TypesBuilder
pub fn types(&self, tys: impl IntoIterator<Item = DynTapi>) -> String
Auto Trait Implementations§
impl Freeze for TypesBuilder
impl !RefUnwindSafe for TypesBuilder
impl !Send for TypesBuilder
impl !Sync for TypesBuilder
impl Unpin for TypesBuilder
impl !UnwindSafe for TypesBuilder
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more