pub struct FileRegistry { /* private fields */ }Expand description
ファイルレジストリ
Implementations§
Source§impl FileRegistry
impl FileRegistry
Sourcepub fn try_get_path(&self, id: FileId) -> Option<&Path>
pub fn try_get_path(&self, id: FileId) -> Option<&Path>
IDからパスを取得(範囲外なら None)
Trait Implementations§
Source§impl Clone for FileRegistry
impl Clone for FileRegistry
Source§fn clone(&self) -> FileRegistry
fn clone(&self) -> FileRegistry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FileRegistry
impl Debug for FileRegistry
Source§impl Default for FileRegistry
impl Default for FileRegistry
Source§fn default() -> FileRegistry
fn default() -> FileRegistry
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FileRegistry
impl RefUnwindSafe for FileRegistry
impl Send for FileRegistry
impl Sync for FileRegistry
impl Unpin for FileRegistry
impl UnsafeUnpin for FileRegistry
impl UnwindSafe for FileRegistry
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