pub struct EciAssignment(/* private fields */);Available on crate feature
qr only.Expand description
An Extended Channel Interpretation assignment number.
Implementations§
Source§impl EciAssignment
impl EciAssignment
Sourcepub const ISO_8859_1: Self
Available on crate features qr or rmqr only.
pub const ISO_8859_1: Self
qr or rmqr only.The default ISO-8859-1 character set assignment.
Sourcepub const SHIFT_JIS: Self
Available on crate features qr or rmqr only.
pub const SHIFT_JIS: Self
qr or rmqr only.The Shift JIS character set assignment.
Sourcepub const UTF_8: Self
Available on crate features qr or rmqr only.
pub const UTF_8: Self
qr or rmqr only.The UTF-8 character set assignment.
Sourcepub const fn new(value: u32) -> Result<Self, EncodeError>
Available on crate features qr or rmqr only.
pub const fn new(value: u32) -> Result<Self, EncodeError>
qr or rmqr only.Creates an ECI assignment from a value in 0..=999999.
Trait Implementations§
Source§impl Clone for EciAssignment
impl Clone for EciAssignment
Source§fn clone(&self) -> EciAssignment
fn clone(&self) -> EciAssignment
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 EciAssignment
Source§impl Debug for EciAssignment
impl Debug for EciAssignment
impl Eq for EciAssignment
Source§impl Hash for EciAssignment
impl Hash for EciAssignment
Source§impl PartialEq for EciAssignment
impl PartialEq for EciAssignment
impl StructuralPartialEq for EciAssignment
Auto Trait Implementations§
impl Freeze for EciAssignment
impl RefUnwindSafe for EciAssignment
impl Send for EciAssignment
impl Sync for EciAssignment
impl Unpin for EciAssignment
impl UnsafeUnpin for EciAssignment
impl UnwindSafe for EciAssignment
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