pub struct EditionDeclaration {
pub edition: Edition,
pub added: &'static [EditionMember],
}Expand description
Declares an edition together with its new members in one block. Registered with
EditionSession::declare, which derives each entry’s membership (since = the declared
edition) from the block structure.
Fields§
§edition: EditionThe edition being declared.
added: &'static [EditionMember]The members that join the family at this edition, each tagged with its ComponentKind.
Earlier entries are inherited and never restated.
Trait Implementations§
Source§impl Clone for EditionDeclaration
impl Clone for EditionDeclaration
Source§fn clone(&self) -> EditionDeclaration
fn clone(&self) -> EditionDeclaration
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 EditionDeclaration
Auto Trait Implementations§
impl !RefUnwindSafe for EditionDeclaration
impl !UnwindSafe for EditionDeclaration
impl Freeze for EditionDeclaration
impl Send for EditionDeclaration
impl Sync for EditionDeclaration
impl Unpin for EditionDeclaration
impl UnsafeUnpin for EditionDeclaration
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