Struct stc_ts_type_ops::widen::Widen
source · [−]pub struct Widen {
pub tuple_to_array: bool,
}
Expand description
Type widener.
- Tuple => Array
- null => any
- undefined => any
Fields
tuple_to_array: bool
Trait Implementations
sourceimpl Fold<PropertySignature> for Widen
impl Fold<PropertySignature> for Widen
fn fold(&mut self, value: PropertySignature) -> PropertySignature
Auto Trait Implementations
impl RefUnwindSafe for Widen
impl Send for Widen
impl Sync for Widen
impl Unpin for Widen
impl UnwindSafe for Widen
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more