Sha256: 23830353dcab22a368f408fd62b5d0d0887083d072661458812b32105b302e63
Contents?: true
Size: 558 Bytes
Versions: 7
Compression:
Stored size: 558 Bytes
Contents
use crate::RbExpr; impl RbExpr { pub fn struct_field_by_index(&self, index: i64) -> Self { self.inner.clone().struct_().field_by_index(index).into() } pub fn struct_field_by_name(&self, name: String) -> Self { self.inner.clone().struct_().field_by_name(&name).into() } pub fn struct_rename_fields(&self, names: Vec<String>) -> Self { self.inner.clone().struct_().rename_fields(names).into() } pub fn struct_json_encode(&self) -> Self { self.inner.clone().struct_().json_encode().into() } }
Version data entries
7 entries across 7 versions & 1 rubygems