pub struct MethodClassCandidate {
pub path: PathBuf,
pub class_name: String,
pub methods: Vec<String>,
pub suppressed_lines: Vec<u32>,
}Expand description
An exported class whose methods the type-aware pass reads.
Fields§
§path: PathBufThe file that declares the class.
class_name: StringThe local name of the class in its module.
methods: Vec<String>The names of the methods without a decorator.
suppressed_lines: Vec<u32>The 1-based lines of the file where a constant-parameter
suppression applies.
Trait Implementations§
Source§impl Clone for MethodClassCandidate
impl Clone for MethodClassCandidate
Auto Trait Implementations§
impl Forget for MethodClassCandidate
impl Freeze for MethodClassCandidatewhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
PhantomData<u32>: Freeze,
impl Move for MethodClassCandidate
impl RefUnwindSafe for MethodClassCandidate
impl Send for MethodClassCandidatewhere
RawVecInner: Send,
impl Sync for MethodClassCandidatewhere
RawVecInner: Sync,
impl Unpin for MethodClassCandidate
impl UnsafeUnpin for MethodClassCandidatewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<u32>: UnsafeUnpin,
impl UnwindSafe for MethodClassCandidatewhere
RawVecInner: UnwindSafe,
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