pub trait MaybeQualifiedTwice {
// Required method
fn into_3_parts(self) -> (Option<(Option<DynIden>, DynIden)>, DynIden);
}
Expand description
A name that can be unqualified (foo
), qualified once (foo.bar
), or twice (foo.bar.baz
).
This is mostly a “private” helper trait to provide reusable conversions.
Required Methods§
Implementations on Foreign Types§
Source§impl<S, T, U> MaybeQualifiedTwice for (S, T, U)
Fully-qualified from 3 parts (foo.bar.baz
).
impl<S, T, U> MaybeQualifiedTwice for (S, T, U)
Fully-qualified from 3 parts (foo.bar.baz
).
Implementors§
impl<T> MaybeQualifiedTwice for Twhere
T: MaybeQualifiedOnce,
From 1 or 2 parts (foo
or foo.bar
).