pub struct FunctionFlags {
pub is_async: bool,
pub is_generator: bool,
}Expand description
Compact function flags record.
Fields§
§is_async: bool§is_generator: boolTrait Implementations§
Source§impl Clone for FunctionFlags
impl Clone for FunctionFlags
Source§fn clone(&self) -> FunctionFlags
fn clone(&self) -> FunctionFlags
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 moreimpl Copy for FunctionFlags
Source§impl Debug for FunctionFlags
impl Debug for FunctionFlags
Source§impl Default for FunctionFlags
impl Default for FunctionFlags
Source§fn default() -> FunctionFlags
fn default() -> FunctionFlags
Returns the “default value” for a type. Read more
impl Eq for FunctionFlags
Source§impl Hash for FunctionFlags
impl Hash for FunctionFlags
Source§impl PartialEq for FunctionFlags
impl PartialEq for FunctionFlags
impl StructuralPartialEq for FunctionFlags
Auto Trait Implementations§
impl Freeze for FunctionFlags
impl RefUnwindSafe for FunctionFlags
impl Send for FunctionFlags
impl Sync for FunctionFlags
impl Unpin for FunctionFlags
impl UnsafeUnpin for FunctionFlags
impl UnwindSafe for FunctionFlags
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