pub struct TestModule {
pub name: String,
pub path: Option<String>,
}Fields§
§name: String§path: Option<String>The #[path = "..."] of the declaration, relative to the declaring file’s directory.
Trait Implementations§
Source§impl Debug for TestModule
impl Debug for TestModule
impl Eq for TestModule
Source§impl PartialEq for TestModule
impl PartialEq for TestModule
impl StructuralPartialEq for TestModule
Auto Trait Implementations§
impl Forget for TestModule
impl Freeze for TestModule
impl Move for TestModule
impl RefUnwindSafe for TestModule
impl Send for TestModulewhere
RawVecInner: Send,
impl Sync for TestModulewhere
RawVecInner: Sync,
impl Unpin for TestModule
impl UnsafeUnpin for TestModule
impl UnwindSafe for TestModulewhere
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
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.