pub struct Yield {
pub value: u32,
pub unit: Option<String>,
}Fields§
§value: u32§unit: Option<String>Trait Implementations§
Source§impl ParseFromStr for Yield
impl ParseFromStr for Yield
fn parse_from_str(s: &str) -> ParseResult<Self>
Auto Trait Implementations§
impl Freeze for Yield
impl RefUnwindSafe for Yield
impl Send for Yield
impl Sync for Yield
impl Unpin for Yield
impl UnwindSafe for Yield
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