#[repr(u64)]pub enum NSDataBase64EncodingOptions {
None = 0,
SixtyFourCharacterLineLength = 1,
SeventySixCharacterLineLength = 2,
EndLineWithCarriageReturn = 16,
EndLineWithLineFeed = 32,
}
Expand description
Options for methods used to Base64 encode data.
Variants§
None = 0
SixtyFourCharacterLineLength = 1
Set the maximum line length to 64 characters, after which a line ending is inserted.
SeventySixCharacterLineLength = 2
Set the maximum line length to 76 characters, after which a line ending is inserted.
EndLineWithCarriageReturn = 16
When a maximum line length is set, specify that the line ending to insert should include a carriage return.
EndLineWithLineFeed = 32
When a maximum line length is set, specify that the line ending to insert should include a line feed.
Trait Implementations§
Source§impl Clone for NSDataBase64EncodingOptions
impl Clone for NSDataBase64EncodingOptions
Source§fn clone(&self) -> NSDataBase64EncodingOptions
fn clone(&self) -> NSDataBase64EncodingOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for NSDataBase64EncodingOptions
impl Debug for NSDataBase64EncodingOptions
impl Copy for NSDataBase64EncodingOptions
Auto Trait Implementations§
impl Freeze for NSDataBase64EncodingOptions
impl RefUnwindSafe for NSDataBase64EncodingOptions
impl Send for NSDataBase64EncodingOptions
impl Sync for NSDataBase64EncodingOptions
impl Unpin for NSDataBase64EncodingOptions
impl UnwindSafe for NSDataBase64EncodingOptions
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