Struct pancake_engine_common::fs_utils::NamePattern
source · pub struct NamePattern {
prefix: &'static str,
suffix: &'static str,
}Fields§
§prefix: &'static str§suffix: &'static strImplementations§
source§impl NamePattern
impl NamePattern
pub fn new(prefix: &'static str, suffix: &'static str) -> NamePattern
source§impl NamePattern
impl NamePattern
pub fn format(&self, num: PathNameNum) -> String
pub fn parse(&self, s: &str) -> Result<PathNameNum>
Auto Trait Implementations§
impl RefUnwindSafe for NamePattern
impl Send for NamePattern
impl Sync for NamePattern
impl Unpin for NamePattern
impl UnwindSafe for NamePattern
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