pub struct TypePropertySignature {
pub readonly: bool,
pub name: PropertyName,
pub optional: bool,
pub type_annotation: Option<TypeAnnotationNode>,
}Fields§
§readonly: bool§name: PropertyName§optional: bool§type_annotation: Option<TypeAnnotationNode>Trait Implementations§
Source§impl Clone for TypePropertySignature
impl Clone for TypePropertySignature
Source§fn clone(&self) -> TypePropertySignature
fn clone(&self) -> TypePropertySignature
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 TypePropertySignature
impl Debug for TypePropertySignature
impl Eq for TypePropertySignature
Source§impl PartialEq for TypePropertySignature
impl PartialEq for TypePropertySignature
impl StructuralPartialEq for TypePropertySignature
Auto Trait Implementations§
impl Freeze for TypePropertySignature
impl RefUnwindSafe for TypePropertySignature
impl Send for TypePropertySignature
impl Sync for TypePropertySignature
impl Unpin for TypePropertySignature
impl UnsafeUnpin for TypePropertySignature
impl UnwindSafe for TypePropertySignature
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