pub struct TypeRef {
pub text: String,
pub base: String,
pub container: Container,
}Expand description
A parsed field type, decomposed just enough to see through the containers candle model code actually uses.
Fields§
§text: StringFull source text, e.g. Vec<Layer>.
base: StringInnermost named type after peeling containers, e.g. Layer.
container: ContainerTrait Implementations§
Auto Trait Implementations§
impl Freeze for TypeRef
impl RefUnwindSafe for TypeRef
impl Send for TypeRef
impl Sync for TypeRef
impl Unpin for TypeRef
impl UnsafeUnpin for TypeRef
impl UnwindSafe for TypeRef
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