pub struct PrefetchFlag(/* private fields */);Implementations§
Source§impl PrefetchFlag
impl PrefetchFlag
pub fn is_executable(&self) -> bool
pub fn is_resource(&self) -> bool
pub fn is_not_prefetched(&self) -> bool
Trait Implementations§
Source§impl Clone for PrefetchFlag
impl Clone for PrefetchFlag
Source§fn clone(&self) -> PrefetchFlag
fn clone(&self) -> PrefetchFlag
Returns a duplicate of the value. Read more
1.0.0 · 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 PrefetchFlag
impl Debug for PrefetchFlag
Source§impl Default for PrefetchFlag
impl Default for PrefetchFlag
Source§fn default() -> PrefetchFlag
fn default() -> PrefetchFlag
Returns the “default value” for a type. Read more
Source§impl Display for PrefetchFlag
impl Display for PrefetchFlag
Auto Trait Implementations§
impl Freeze for PrefetchFlag
impl RefUnwindSafe for PrefetchFlag
impl Send for PrefetchFlag
impl Sync for PrefetchFlag
impl Unpin for PrefetchFlag
impl UnwindSafe for PrefetchFlag
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