Struct sn_bindgen::LangJava[][src]

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]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

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

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

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

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

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

pub fn lookup(self, &JNIEnv<'a>) -> Result<T, Error>[src]

Look up the concrete type from the JVM.

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

pub fn from(t: T) -> T[src]

Performs the conversion.

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

pub fn into(self) -> U[src]

Performs the conversion.

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.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

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.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.