pub struct EditionDeclaration {
pub edition: Edition,
pub added: &'static [&'static dyn AsEncodingId],
}Expand description
Declares an edition together with the encodings that join the family at it, in one
block. Registered with EditionSession::declare, which derives each encoding’s
membership (since = the declared edition) from the block structure.
Fields§
§edition: EditionThe edition being declared.
added: &'static [&'static dyn AsEncodingId]The encodings that join the family at this edition, named by id string or by vtable. Members of earlier editions 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