#[non_exhaustive]pub struct LocalModifiers {}Expand description
Additional optional information about a let statement.
This data structure may grow to accommodate future Rust language
changes, including the following in-progress RFCs:
- #139076 “Super let”
Implementations§
Source§impl LocalModifiers
impl LocalModifiers
pub fn require_empty(&self) -> Result<()>
Trait Implementations§
Source§impl Clone for LocalModifiers
Available on crate feature full only.
impl Clone for LocalModifiers
Available on crate feature
full only.Source§impl Debug for LocalModifiers
Available on crate feature full only.
impl Debug for LocalModifiers
Available on crate feature
full only.Source§impl Default for LocalModifiers
impl Default for LocalModifiers
impl Eq for LocalModifiers
Available on crate feature
full only.Source§impl Hash for LocalModifiers
Available on crate feature full only.
impl Hash for LocalModifiers
Available on crate feature
full only.Auto Trait Implementations§
impl Freeze for LocalModifiers
impl RefUnwindSafe for LocalModifiers
impl Send for LocalModifiers
impl Sync for LocalModifiers
impl Unpin for LocalModifiers
impl UnsafeUnpin for LocalModifiers
impl UnwindSafe for LocalModifiers
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