Struct duat_core::data::CurrentFile
source · pub struct CurrentFile<U>where
U: Ui,{ /* private fields */ }Implementations§
source§impl<U> CurrentFile<U>where
U: Ui,
impl<U> CurrentFile<U>where
U: Ui,
pub const fn new() -> Self
pub fn constant(&self) -> FileReader<U>
pub fn adaptive(&self) -> FileReader<U>
pub fn inspect<R>( &self, f: impl FnOnce(&File, &U::Area, &dyn InputMethod<U>) -> R, ) -> R
pub fn inspect_as<I: InputMethod<U>, R>( &self, f: impl FnOnce(&File, &U::Area, &I) -> R, ) -> Option<R>
pub fn file_ptr_eq(&self, other: &Widget<U>) -> bool
Trait Implementations§
Auto Trait Implementations§
impl<U> !Freeze for CurrentFile<U>
impl<U> !RefUnwindSafe for CurrentFile<U>
impl<U> Send for CurrentFile<U>
impl<U> Sync for CurrentFile<U>
impl<U> Unpin for CurrentFile<U>
impl<U> !UnwindSafe for CurrentFile<U>
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