[−][src]Struct rustc_incremental::assert_module_sources::AssertModuleSource
Fields
tcx: TyCtxt<'tcx>available_cgus: BTreeSet<String>Implementations
impl<'tcx> AssertModuleSource<'tcx>[src]
pub(in assert_module_sources) fn check_attr(
&self,
attr: &Attribute
)[src]
&self,
attr: &Attribute
)
pub(in assert_module_sources) fn field(
&self,
attr: &Attribute,
name: Symbol
) -> Symbol[src]
&self,
attr: &Attribute,
name: Symbol
) -> Symbol
pub(in assert_module_sources) fn check_config(
&self,
attr: &Attribute
) -> bool[src]
&self,
attr: &Attribute
) -> bool
Scan for a cfg="foo" attribute and check whether we have a
cfg flag called foo.
Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for AssertModuleSource<'tcx>
impl<'tcx> !Send for AssertModuleSource<'tcx>
impl<'tcx> !Sync for AssertModuleSource<'tcx>
impl<'tcx> Unpin for AssertModuleSource<'tcx>
impl<'tcx> !UnwindSafe for AssertModuleSource<'tcx>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,