[−][src]Struct dbus_codegen::GenOpts
Code generation options
Fields
dbuscrate: String
Name of dbus crate (used for import)
methodtype: Option<String>
MethodType for server tree impl, set to none for client impl only
crhandler: Option<String>
Crossroads server handler type, set to none for client impl only
skipprefix: Option<String>
Removes a prefix from interface names
serveraccess: ServerAccess
Type of server access (tree)
genericvariant: bool
Tries to make variants generic instead of Variant<Box
futures: bool
Generates code to work with async / futures 0.3
connectiontype: ConnectionType
Type of connection, for client only
propnewtype: bool
Generates a struct wrapping PropMap to get properties from it with their expected types.
interfaces: Option<HashSet<String>>
interface filter. Only matching interface are generated, if non-empty.
command_line: String
The command line argument string. This will be inserted into generated source files.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for GenOpts
[src]
impl Send for GenOpts
[src]
impl Sync for GenOpts
[src]
impl Unpin for GenOpts
[src]
impl UnwindSafe for GenOpts
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,