pub struct TmpfsItem { /* private fields */ }Expand description
One exact service-level tmpfs item.
Implementations§
Source§impl TmpfsItem
impl TmpfsItem
Sourcepub fn value(&self) -> &str
pub fn value(&self) -> &str
Returns the exact string value without normalizing its path or options.
Sourcepub const fn span(&self) -> SourceSpan
pub const fn span(&self) -> SourceSpan
Returns the exact source span of this scalar item.
Sourcepub const fn kind(&self) -> TmpfsItemKind
pub const fn kind(&self) -> TmpfsItemKind
Returns the conservative raw-preserving item classification.
Trait Implementations§
impl Eq for TmpfsItem
impl StructuralPartialEq for TmpfsItem
Auto Trait Implementations§
impl Freeze for TmpfsItem
impl RefUnwindSafe for TmpfsItem
impl Send for TmpfsItem
impl Sync for TmpfsItem
impl Unpin for TmpfsItem
impl UnsafeUnpin for TmpfsItem
impl UnwindSafe for TmpfsItem
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