pub struct UnusedComponentInput {
pub path: PathBuf,
pub component_name: String,
pub input_name: String,
pub line: u32,
pub col: u32,
}Expand description
An Angular @Input() / signal input() / model() declared input that is
read NOWHERE inside its own component (neither the inline/external template
nor the class body). Single-file dead-input direction; the Angular analogue
of UnusedComponentProp. The whole component abstains on an unresolved
extends heritage clause (a base class in another file may read this.foo).
Fields§
§path: PathBufThe Angular component/directive .ts file declaring the unused input.
component_name: StringThe component name (the .ts file stem).
input_name: StringThe declared input name that is never read.
line: u321-based line number of the input declaration.
col: u320-based byte column offset of the input declaration.
Trait Implementations§
Source§impl Clone for UnusedComponentInput
impl Clone for UnusedComponentInput
Source§impl Debug for UnusedComponentInput
impl Debug for UnusedComponentInput
Source§impl<'de> Deserialize<'de> for UnusedComponentInput
impl<'de> Deserialize<'de> for UnusedComponentInput
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for UnusedComponentInput
impl RefUnwindSafe for UnusedComponentInput
impl Send for UnusedComponentInput
impl Sync for UnusedComponentInput
impl Unpin for UnusedComponentInput
impl UnsafeUnpin for UnusedComponentInput
impl UnwindSafe for UnusedComponentInput
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