pub struct MappedType {
pub type_param: TypeParamInfo,
pub constraint: TypeId,
pub name_type: Option<TypeId>,
pub template: TypeId,
pub readonly_modifier: Option<MappedModifier>,
pub optional_modifier: Option<MappedModifier>,
}Expand description
Mapped type structure
Fields§
§type_param: TypeParamInfo§constraint: TypeId§name_type: Option<TypeId>§template: TypeId§readonly_modifier: Option<MappedModifier>§optional_modifier: Option<MappedModifier>Trait Implementations§
Source§impl Clone for MappedType
impl Clone for MappedType
Source§fn clone(&self) -> MappedType
fn clone(&self) -> MappedType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MappedType
impl Debug for MappedType
Source§impl Hash for MappedType
impl Hash for MappedType
Source§impl PartialEq for MappedType
impl PartialEq for MappedType
impl Eq for MappedType
impl StructuralPartialEq for MappedType
Auto Trait Implementations§
impl Freeze for MappedType
impl RefUnwindSafe for MappedType
impl Send for MappedType
impl Sync for MappedType
impl Unpin for MappedType
impl UnsafeUnpin for MappedType
impl UnwindSafe for MappedType
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.