pub struct LocalType {
pub name: String,
pub text: String,
pub alias: bool,
}Expand description
A top-level interface or type alias.
Fields§
§name: String§text: StringThe whole interface, or the right-hand side of a type alias.
alias: boolA type alias without type parameters: its uses can be replaced by text.
Trait Implementations§
impl Eq for LocalType
impl StructuralPartialEq for LocalType
Auto Trait Implementations§
impl Forget for LocalType
impl Freeze for LocalType
impl Move for LocalType
impl RefUnwindSafe for LocalType
impl Send for LocalType
impl Sync for LocalType
impl Unpin for LocalType
impl UnsafeUnpin for LocalType
impl UnwindSafe for LocalType
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.