#[repr(u32)]
pub enum PropMode {
Replace,
Prepend,
Append,
}
Variants
Replace
Discard the previous property value and store the new data.
Prepend
Insert the new data before the beginning of existing data. The format
must
match existing property value. If the property is undefined, it is treated as
defined with the correct type and format with zero-length data.
Append
Insert the new data after the beginning of existing data. The format
must
match existing property value. If the property is undefined, it is treated as
defined with the correct type and format with zero-length data.
Trait Implementations
impl Copy for PropMode
impl StructuralPartialEq for PropMode
Auto Trait Implementations
impl RefUnwindSafe for PropMode
impl Send for PropMode
impl Sync for PropMode
impl Unpin for PropMode
impl UnwindSafe for PropMode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more