Struct gtk::FileFilterInfo
source · [−]#[repr(transparent)]pub struct FileFilterInfo(_);
Expand description
A FileFilterInfo
-struct is used to pass information about the
tested file to FileFilter::filter()
.
Implementations
sourceimpl FileFilterInfo
impl FileFilterInfo
pub fn new(
filename: Option<&str>,
uri: Option<&str>,
display_name: Option<&str>,
mime_type: Option<&str>
) -> Self
pub fn contains(&self) -> FileFilterFlags
pub fn filename(&self) -> Option<&str>
pub fn uri(&self) -> Option<&str>
pub fn display_name(&self) -> Option<&str>
pub fn mime_type(&self) -> Option<&str>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for FileFilterInfo
impl !Send for FileFilterInfo
impl !Sync for FileFilterInfo
impl Unpin for FileFilterInfo
impl UnwindSafe for FileFilterInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more