[][src]Struct safe_bindgen::LangJava

pub struct LangJava { /* fields omitted */ }

Implementations

impl LangJava[src]

pub fn new(type_map: HashMap<&'static str, JavaType>) -> Self[src]

pub fn set_lib_name<T: Into<String>>(&mut self, name: T)[src]

Set the name of the native library. This also sets the class name.

pub fn set_namespace<T: Into<String>>(&mut self, namespace: T)[src]

Set the namespace to put the NativeBindings class in.

pub fn set_model_namespace<T: Into<String>>(&mut self, namespace: T)[src]

Set the namespace to put all structures/classes in.

pub fn filter<T: Into<String>>(&mut self, ident: T)[src]

Add the identifier to the filter. If the filter mode is Blacklist (the default), the identifiers in the filter are ignored. If it is Whitelist, the identifiers not in the filter are ignored.

pub fn reset_filter(&mut self, filter_mode: FilterMode)[src]

Clears the current filter and sets the filter mode.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<'a, T> Desc<'a, T> for T[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.