[−][src]Struct rgmsh::Gmsh
Gmsh context object
Methods
impl Gmsh
[src]
pub fn initialize_gui(&self) -> GmshResult<Gui>
[src]
Create the GUI. If successful, open the GUI for an instant before resuming execution.
pub fn run_gui(&self) -> GmshResult<Gui>
[src]
Run the GUI and block the calling thread until the GUI window is closed.
impl Gmsh
[src]
pub fn initialize() -> GmshResult<Self>
[src]
Create the main Gmsh object. All API functions are provided through this object.
pub fn create_native_model(&self, name: &'static str) -> GmshResult<GeoModel>
[src]
Make a new model using the built-in Gmsh geometry kernel
pub fn create_occ_model(&self, name: &'static str) -> GmshResult<OccModel>
[src]
Make a new model using the OpenCASCADE geometry kernel
pub fn get_number_option(&self, name: &str) -> GmshResult<f64>
[src]
Get a numeric option.
pub fn set_number_option(&mut self, name: &str, value: f64) -> GmshResult<()>
[src]
Set a numeric option.
pub fn get_string_option(&self, name: &str) -> GmshResult<String>
[src]
Get a string option.
pub fn set_string_option(&mut self, name: &str, value: &str) -> GmshResult<()>
[src]
Set a string option.
Trait Implementations
Auto Trait Implementations
impl Send for Gmsh
impl Sync for Gmsh
impl Unpin for Gmsh
impl UnwindSafe for Gmsh
impl RefUnwindSafe for Gmsh
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for 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.
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,