Enum test::test::TestName [−][src]
pub enum TestName {
StaticTestName(&'static str),
DynTestName(String),
AlignedTestName(Cow<'static, str>, NamePadding),
}🔬 This is a nightly-only experimental API. (
test)Variants
StaticTestName(&'static str)🔬 This is a nightly-only experimental API. (
test)DynTestName(String)🔬 This is a nightly-only experimental API. (
test)AlignedTestName(Cow<'static, str>, NamePadding)🔬 This is a nightly-only experimental API. (
test)Implementations
impl TestName[src]
impl TestName[src]pub fn as_slice(&self) -> &str[src]
🔬 This is a nightly-only experimental API. (
test)pub fn padding(&self) -> NamePadding[src]
🔬 This is a nightly-only experimental API. (
test)pub fn with_padding(&self, padding: NamePadding) -> TestName[src]
🔬 This is a nightly-only experimental API. (
test)Trait Implementations
impl Eq for TestName[src]
impl StructuralEq for TestName[src]
impl StructuralPartialEq for TestName[src]
Auto Trait Implementations
impl RefUnwindSafe for TestName
impl Send for TestName
impl Sync for TestName
impl Unpin for TestName
impl UnwindSafe for TestName
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more