#[repr(C)]pub struct CreateCommandOpts { /* private fields */ }
Expand description
Options passed to create_user_command
and
Buffer::create_user_command()
.
Implementations§
Source§impl CreateCommandOpts
impl CreateCommandOpts
Sourcepub fn builder() -> CreateCommandOptsBuilder
pub fn builder() -> CreateCommandOptsBuilder
Creates a new CreateCommandOptsBuilder
.
Trait Implementations§
Source§impl Clone for CreateCommandOpts
impl Clone for CreateCommandOpts
Source§fn clone(&self) -> CreateCommandOpts
fn clone(&self) -> CreateCommandOpts
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CreateCommandOpts
impl Debug for CreateCommandOpts
Source§impl Default for CreateCommandOpts
impl Default for CreateCommandOpts
Source§fn default() -> CreateCommandOpts
fn default() -> CreateCommandOpts
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CreateCommandOpts
impl RefUnwindSafe for CreateCommandOpts
impl !Send for CreateCommandOpts
impl !Sync for CreateCommandOpts
impl Unpin for CreateCommandOpts
impl UnwindSafe for CreateCommandOpts
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
Source§type Error = Infallible
type Error = Infallible
The error type in the returned
Result
.Source§fn into_result(self) -> Result<T, <T as IntoResult<T>>::Error>
fn into_result(self) -> Result<T, <T as IntoResult<T>>::Error>
Converts the value into a
Result
.