Struct gdal::vector::FieldDefn [−][src]
pub struct FieldDefn { /* fields omitted */ }
Methods
impl FieldDefn
[src]
impl FieldDefn
pub fn new(name: &str, field_type: Type) -> Result<FieldDefn>
[src]
pub fn new(name: &str, field_type: Type) -> Result<FieldDefn>
pub fn set_width(&self, width: i32)
[src]
pub fn set_width(&self, width: i32)
pub fn set_precision(&self, precision: i32)
[src]
pub fn set_precision(&self, precision: i32)
pub fn add_to_layer(&self, layer: &Layer) -> Result<()>
[src]
pub fn add_to_layer(&self, layer: &Layer) -> Result<()>