pub struct TypeRelation { /* private fields */ }Expand description
A compatibility decision plus the intentional TypeScript hazards that made the conversion possible.
Implementations§
Source§impl TypeRelation
impl TypeRelation
pub const fn compatible(&self) -> bool
pub fn hazards(&self) -> &[RelationHazard]
Trait Implementations§
Source§impl Clone for TypeRelation
impl Clone for TypeRelation
Source§fn clone(&self) -> TypeRelation
fn clone(&self) -> TypeRelation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TypeRelation
impl Debug for TypeRelation
impl Eq for TypeRelation
Source§impl PartialEq for TypeRelation
impl PartialEq for TypeRelation
impl StructuralPartialEq for TypeRelation
Auto Trait Implementations§
impl Freeze for TypeRelation
impl RefUnwindSafe for TypeRelation
impl Send for TypeRelation
impl Sync for TypeRelation
impl Unpin for TypeRelation
impl UnsafeUnpin for TypeRelation
impl UnwindSafe for TypeRelation
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