#[repr(C, align(8))]pub struct DiskSourceTree { /* private fields */ }Implementations§
Source§impl DiskSourceTree
impl DiskSourceTree
pub fn MapPath( self: Pin<&mut DiskSourceTree>, virtual_path: impl ValueParam<string_view>, disk_path: impl ValueParam<string_view>, )
pub unsafe fn DiskFileToVirtualFile( self: Pin<&mut DiskSourceTree>, disk_file: impl ValueParam<string_view>, virtual_file: *mut CxxString, shadowing_disk_file: *mut CxxString, ) -> DiskSourceTree_DiskFileToVirtualFileResult
pub unsafe fn VirtualFileToDiskFile( self: Pin<&mut DiskSourceTree>, virtual_file: impl ValueParam<string_view>, disk_file: *mut CxxString, ) -> bool
pub fn new() -> impl New<Output = Self>
pub fn Open( self: Pin<&mut DiskSourceTree>, filename: impl ValueParam<string_view>, ) -> *mut ZeroCopyInputStream
pub fn GetLastErrorMessage( self: Pin<&mut DiskSourceTree>, ) -> UniquePtr<CxxString>
Trait Implementations§
Source§impl AsRef<SourceTree> for DiskSourceTree
impl AsRef<SourceTree> for DiskSourceTree
Source§fn as_ref(self: &DiskSourceTree) -> &SourceTree
fn as_ref(self: &DiskSourceTree) -> &SourceTree
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Drop for DiskSourceTree
impl Drop for DiskSourceTree
Source§fn drop(self: &mut DiskSourceTree)
fn drop(self: &mut DiskSourceTree)
Executes the destructor for this type. Read more
Source§impl ExternType for DiskSourceTree
impl ExternType for DiskSourceTree
Source§impl MakeCppStorage for DiskSourceTree
impl MakeCppStorage for DiskSourceTree
Source§unsafe fn allocate_uninitialized_cpp_storage() -> *mut DiskSourceTree
unsafe fn allocate_uninitialized_cpp_storage() -> *mut DiskSourceTree
Allocates heap space for this type in C++ and return a pointer
to that space, but do not initialize that space (i.e. do not
yet call a constructor). Read more
Source§unsafe fn free_uninitialized_cpp_storage(arg0: *mut DiskSourceTree)
unsafe fn free_uninitialized_cpp_storage(arg0: *mut DiskSourceTree)
Frees a C++ allocation which has not yet
had a constructor called. Read more
impl UniquePtrTarget for DiskSourceTree
impl WeakPtrTarget for DiskSourceTree
Auto Trait Implementations§
impl Freeze for DiskSourceTree
impl RefUnwindSafe for DiskSourceTree
impl !Send for DiskSourceTree
impl !Sync for DiskSourceTree
impl !Unpin for DiskSourceTree
impl UnwindSafe for DiskSourceTree
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